-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPKGBUILD
31 lines (26 loc) · 796 Bytes
/
PKGBUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# See http://wiki.archlinux.org/index.php/Python_Package_Guidelines for more
# information on Python packaging.
# Maintainer: Yann Balland <[email protected]>
_name=katal
_branch=master
pkgname=$_name-git
pkgrel=1
pkgver=0.3.2.r6.ge5b4210
pkgdesc="Create a catalogue from various source directories, without any duplicate. Add some tags to the files."
arch=('any')
url="https://github.com/suizokukan/katal"
license=('GPL3')
depends=('python')
makedepends=('git')
provides=("$_name")
source=("$pkgname::git+https://github.com/suizokukan/katal")
md5sums=(SKIP)
pkgver() {
cd "$srcdir/$pkgname"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "$srcdir/$pkgname"
python setup.py install --root="$pkgdir/" --optimize=1
}
# vim:set ts=2 sw=2 et: