summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7a5843c2c32..a23cf56a044 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -25,23 +25,23 @@ md5sums=('SKIP')
validpgpkeys=()
prepare() {
- git clone $source "$pkgname-$pkgver"
+ git clone $source "$pkgname-git"
}
pkgver() {
- cd "$pkgname-$pkgver"
+ cd "$pkgname-git"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
- chmod +x "$pkgname-$pkgver/sydf"
+ chmod +x "$pkgname-git/sydf"
}
check() {
- test -f "$pkgname-$pkgver/sydf"
+ test -f "$pkgname-git/sydf"
}
package() {
mkdir -p ${pkgdir}/usr/bin
- cp "$pkgname-$pkgver/sydf" ${pkgdir}/usr/bin
+ cp "$pkgname-git/sydf" ${pkgdir}/usr/bin
}