diff options
author | Manuel Palenzuela | 2019-06-09 23:21:06 +0200 |
---|---|---|
committer | Manuel Palenzuela | 2019-06-09 23:21:06 +0200 |
commit | 4a1bd3ee8a5b50a127d207ce2a25dffab1bf3474 (patch) | |
tree | 03639c1e858465364da758c1264dfffdc30fc662 | |
parent | 46624e6436d8c4ca3ce1b3427d61361ab801d367 (diff) | |
download | aur-4a1bd3ee8a5b50a127d207ce2a25dffab1bf3474.tar.gz |
Fixed PKGBUILD
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -2,7 +2,7 @@ author=Baitinq pkgname=dwm-baitinq-git -pkgbase=dwm-baitinq +_gitname=dwm pkgver=1 pkgrel=1 pkgdesc='Simple window manager (baitinq version)' @@ -15,22 +15,22 @@ conflicts=('dwm') provides=('dwm') # include config.h and any patches you want to have applied here -source=('git://github.com/Baitinq/dwm.git') +source=('git://github.com/$author/$_gitname.git') sha256sums=('SKIP') pkgver() { - cd "$pkgbase" + cd "$_gitname" printf '0.r%s.%s' \ "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { - cd "$pkgbase" + cd "$_gitname" make } package() { - cd "$pkgbase" + cd "$_gitname" make PREFIX=/usr DESTDIR="$pkgdir" install } |