summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrayWasTaken2021-01-20 12:38:44 -0500
committerGrayWasTaken2021-01-20 12:38:44 -0500
commit1e5a4ea473b131440feac91a63d1185b7c3ed098 (patch)
tree762722e040a27ed7657b388b716cf2946a04e65d
parent23b745b18a9989b6edf74a35438d7c3fcf287f30 (diff)
downloadaur-1e5a4ea473b131440feac91a63d1185b7c3ed098.tar.gz
PKGBUILD fixes
-rw-r--r--PKGBUILD6
1 files changed, 2 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3e8be7ece576..b7aaad77a859 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@ makedepends=('git' 'dart')
changelog=
source=("git+$url")
md5sums=('SKIP') #autofill using updpkgsums
-pkgdir="/opt/$pkgname"
+pkgdir="$pkgdir/opt/$pkgname"
build() {
cd "$pkgname"
@@ -23,6 +23,4 @@ package() {
mkdir -p "$pkgdir/opt/$pkgname"
cp -rf * "$pkgdir/opt/$pkgname"
ln -sf "$pkgdir/opt/$pkgname" "/bin/$pkgname"
-}
-
-# todo on uninstall remove binary aswell as /opt/dartbuster \ No newline at end of file
+} \ No newline at end of file