diff options
author | Wu Zhenyu | 2023-07-17 16:18:25 +0800 |
---|---|---|
committer | Wu Zhenyu | 2023-07-17 16:18:25 +0800 |
commit | a204f40948588b25f7d97337d7e07c9431dd8015 (patch) | |
tree | ff32bb3f13056ab683b9d98bc1f4c880f281f3f9 /PKGBUILD | |
parent | e88e4eee51c008fc63a6bda55055fafff16757bb (diff) | |
download | aur-a204f40948588b25f7d97337d7e07c9431dd8015.tar.gz |
:bug: Fix wrong path
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -2,24 +2,26 @@ _pkgname=undollar pkgname=sh-$_pkgname pkgver=0.0.3 -pkgrel=1 +pkgrel=2 pkgdesc="strip the dollar sign from the beginning of the terminal command" arch=(any) url=https://github.com/Freed-Wu/undollar makedepends=(cmake) license=(GPL3) +provides=(undollar) +conflicts=(undollar) source=("$url/archive/$pkgver.tar.gz") sha256sums=('20e1076f8a98820cfca47523b7f380bbcb96a74fdbefcacc42bdae934f449c7c') build() { - cd "$_pkgname" || return 1 + cd "$_pkgname-$pkgver" || return 1 cmake -Bbuild -DCMAKE_INSTALL_PREFIX=/usr cmake --build build } package() { - cd "$_pkgname" || return 1 + cd "$_pkgname-$pkgver" || return 1 DESTDIR="$pkgdir" cmake --install build } |