summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Schwan2019-05-12 15:44:38 +0200
committerCarl Schwan2019-05-12 15:44:38 +0200
commit21c7609b24b154c37cf8436cf8d89b46f748f20e (patch)
treef7415edfd6c38894b35c2a2f7e4936a00fbe23f2
parentb72a2b8d40102c35d5fea678663eec80132bf250 (diff)
downloadaur-21c7609b24b154c37cf8436cf8d89b46f748f20e.tar.gz
now actually works
-rw-r--r--PKGBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index cf860918ef2..bf2e1c1fa83 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,12 +20,13 @@ optdepends=('konsole: The terminal emulator used in the default config.'
'perl-anyevent-i3: For i3-save-tree')
backup=(etc/i3/config)
options=('docs' '!strip')
-source=('git+https://gitlab.com/ognarb/i3-kde.git')
+source=("$pkgname-$pkgver::git+https://gitlab.com/ognarb/i3-kde.git")
sha256sums=('SKIP')
prepare(){
mkdir -p build
- cd "i3-kde"
+ echo "$pkgname"
+ cd "$pkgname-$pkgver"
autoreconf -fvi
}
@@ -33,7 +34,7 @@ prepare(){
build() {
cd build
- ../i3-$pkgver/configure \
+ ../$pkgname-$pkgver/configure \
--prefix=/usr \
--sysconfdir=/etc
make
@@ -44,7 +45,7 @@ package() {
make DESTDIR="${pkgdir}/" install
install -Dt "$pkgdir/usr/share/man/man1" -m644 man/*.1
- install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 ../i3-$pkgver/LICENSE
+ install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 ../$pkgname-$pkgver/LICENSE
}
# vim:set ts=2 sw=2 et: