|
@@ -1,7 +1,7 @@
|
|
pkgname=calcpkg
|
|
pkgname=calcpkg
|
|
pkgver=20131230
|
|
pkgver=20131230
|
|
pkgver() {
|
|
pkgver() {
|
|
- cd "$srcdir}/$pkgname"
|
|
|
|
|
|
+ cd "$srcdir/$pkgname"
|
|
if git describe --tags > /dev/null 2>&1;then
|
|
if git describe --tags > /dev/null 2>&1;then
|
|
git describe --tags --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g';
|
|
git describe --tags --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g';
|
|
else
|
|
else
|
|
@@ -14,11 +14,11 @@ url=
|
|
arch=('any')
|
|
arch=('any')
|
|
source=("git+https://github.com/Omnimaga/omni-repo.git")
|
|
source=("git+https://github.com/Omnimaga/omni-repo.git")
|
|
build() {
|
|
build() {
|
|
- cd "$srcdir}/$pkgname"
|
|
|
|
|
|
+ cd "$srcdir/$pkgname"
|
|
python2 setup.py build;
|
|
python2 setup.py build;
|
|
}
|
|
}
|
|
package() {
|
|
package() {
|
|
- cd "$srcdir}/$pkgname"
|
|
|
|
|
|
+ cd "$srcdir/$pkgname"
|
|
python2 setup.py install --prefix=$pkgdir;
|
|
python2 setup.py install --prefix=$pkgdir;
|
|
}
|
|
}
|
|
md5sums=('SKIP')
|
|
md5sums=('SKIP')
|