summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdelin-b2020-06-07 15:40:03 +0000
committerAdelin-b2020-06-07 15:40:03 +0000
commit85784ec5477a5cb419dfcfd078356236afd35d72 (patch)
tree70b41565e3d1a2d385eb0f68629f8ffbe27b10e4
parenta848dc37bea6bf320a66b41198fac5f9ee2ce445 (diff)
downloadaur-85784ec5477a5cb419dfcfd078356236afd35d72.tar.gz
Update AUR package
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD9
2 files changed, 4 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a19580bab05e..73dcd4de8953 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -10,7 +10,7 @@ pkgbase = yawhich-key-git
depends = yq2-bin
provides = yawhich-key
conflicts = yawhich-key
- source = yawhich-key-git-0.8.0.r1.g03b4803::git+https://github.com/adelin-b/yawhich-key.git
+ source = yawhich-key-git::git+https://github.com/adelin-b/yawhich-key.git
md5sums = SKIP
pkgname = yawhich-key-git
diff --git a/PKGBUILD b/PKGBUILD
index 7249998b9112..338bb90cf3ba 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,16 +18,13 @@ conflicts=("yawhich-key")
# options=()
# install=
# changelog=$pkgname
-source=("$pkgname-$pkgver::git+https://github.com/adelin-b/yawhich-key.git")
+source=("$pkgname::git+https://github.com/adelin-b/yawhich-key.git")
# noextract=()
md5sums=('SKIP')
package() {
- cd "$srcdir/$pkgname-$pkgver"
- echo $srcdir
- pwd
- echo $DESTDIR
+ cd "$srcdir/$pkgname"
echo $pkgdir
make DESTDIR="$pkgdir/" install
# install -Dm744 "${srcdir}/yawhich-key" "${pkgdir}/urs/local/bin/yawhich-key}"
@@ -35,6 +32,6 @@ package() {
}
pkgver() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgname"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}