summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjp19952020-02-10 13:21:49 +0200
committerjp19952020-02-10 13:21:49 +0200
commit220bb3d15cd1d2d709c0c7db7ec34ce2855182d0 (patch)
treef6a191a8d046d5d550bb8c46fd91c3c5ab8c5e9a
parentc6e317f5cc99ae1ab6725853b4237eb5ebae5077 (diff)
downloadaur-220bb3d15cd1d2d709c0c7db7ec34ce2855182d0.tar.gz
Fixed package not building
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 93dcfa585ff..d811fb8e4d6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -12,6 +12,8 @@ pkgbase = kappa-launcher-git
optdepends = chatterino: chat client
optdepends = chatty: alternative chat client
optdepends = xdg-utils: browser function
+ provides = kappa-launcher
+ conflicts = kappa-launcher
source = git://github.com/jp1995/kappa-launcher.git
sha1sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index f00e960543c..8f459c760e2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,6 @@
# Maintainer: poncho
pkgname=kappa-launcher-git
+_pkgname=kappa-launcher
pkgver=r35.8e6c834
pkgrel=1
pkgdesc="Twitch launcher using rofi"
@@ -23,12 +24,12 @@ source=("git://github.com/jp1995/kappa-launcher.git")
sha1sums=('SKIP')
pkgver() {
- cd "$pkgname"
+ cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
- cd $srcdir/$pkgname
+ cd $srcdir/$_pkgname
install -d $pkgdir/usr/bin
install -m755 kpl $pkgdir/usr/bin
}