summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormitts2016-11-25 00:10:11 -0800
committermitts2016-11-25 00:10:11 -0800
commit86b67ab53b8b67503ec09bdba02e2c7d62795266 (patch)
tree9381a94352e5993e2cd38419ae76673002a18255
parenta506d20d30b44a3de1b07df0be7b660ac57fa439 (diff)
downloadaur-86b67ab53b8b67503ec09bdba02e2c7d62795266.tar.gz
add dat file
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD11
2 files changed, 9 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 33cfe9b6b99..9d83c906d54 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = cydia-impactor
pkgdesc = A GUI tool for working with mobile devices
pkgver = 0.9.34
- pkgrel = 1
+ pkgrel = 2
url = http://www.cydiaimpactor.com
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 5fc79b883e1..9864ae67baa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=cydia-impactor
_pkgname=Impactor
pkgver=0.9.34
-pkgrel=1
+pkgrel=2
pkgdesc="A GUI tool for working with mobile devices"
arch=('i686' 'x86_64')
url="http://www.cydiaimpactor.com"
@@ -18,10 +18,15 @@ package() {
cd "$srcdir/"
msg2 "Installing library"
- mkdir -p "$pkgdir/usr/lib/"
+ mkdir -p "$pkgdir/usr/lib"
install -Dm755 $_pkgname.so "$pkgdir/usr/lib/"
- msg2 "Installing binary"
+ msg2 "Installing dat file"
+ mkdir -p "$pkgdir/usr/share/$pkgname"
+ install -Dm644 $_pkgname.dat "$pkgdir/usr/share/$pkgname"
mkdir -p "$pkgdir/usr/bin"
+ ln -s "$pkgdir/usr/share/$pkgname/$_pkgname.dat" "$pkgdir/usr/bin"
+
+ msg2 "Installing binary"
install -Dm755 $_pkgname "$pkgdir/usr/bin/"
}