diff options
author | Shizcow | 2020-06-30 20:06:03 -0600 |
---|---|---|
committer | Shizcow | 2020-06-30 20:06:03 -0600 |
commit | 7d5089a10d40a6cb021a76f88feaf269cd396470 (patch) | |
tree | 358aaf7739889f05c93d95cb8b4a671dc2c4c072 | |
parent | 88fc4ff1fd00d2ab88564ecc641b40b8e25bf079 (diff) | |
download | aur-7d5089a10d40a6cb021a76f88feaf269cd396470.tar.gz |
Fixed pkgname
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 19 |
2 files changed, 12 insertions, 11 deletions
@@ -1,4 +1,4 @@ -pkgbase = dmenu-rs +pkgbase = dmenu-rs-git pkgdesc = The development branch of dmenu-rs. Likely has unstable features. pkgver = 5.2.2.0.ged9fdd9 pkgrel = 1 @@ -17,5 +17,5 @@ pkgbase = dmenu-rs source = dmenu-rs::git+https://github.com/Shizcow/dmenu-rs.git md5sums = SKIP -pkgname = dmenu-rs +pkgname = dmenu-rs-git @@ -9,7 +9,8 @@ PLUGINS="" _pkgname=dmenu -pkgname=$_pkgname-rs +_pkgbase=$_pkgname-rs +pkgname=$_pkgbase-git pkgver=5.2.2.0.ged9fdd9 pkgrel=1 pkgdesc="The development branch of dmenu-rs. Likely has unstable features." @@ -20,27 +21,27 @@ depends=('sh' 'libxinerama' 'libxft') makedepends=('rust' 'git' 'clang') provides=($_pkgname) conflicts=($_pkgname) -source=("${pkgname}::git+${url}.git") +source=("${_pkgbase}::git+${url}.git") md5sums=('SKIP') pkgver() { - cd $pkgname + cd $_pkgbase git describe --tags --long | sed 's/-/./g' } prepare() ( - cd dmenu-rs - git config advice.detachedHead false + cd $_pkgbase + git config advice.detachedHead false ) build() ( - cd dmenu-rs - git checkout develop - make PLUGINS="$PLUGINS" + cd $_pkgbase + git checkout develop + make PLUGINS="$PLUGINS" ) package() ( - cd $pkgname + cd $_pkgbase make PREFIX=/usr DESTDIR="$pkgdir" PLUGINS="$PLUGINS" install install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE )
\ No newline at end of file |