diff options
author | 0x9fff00 | 2018-12-08 14:35:36 +0100 |
---|---|---|
committer | 0x9fff00 | 2018-12-08 14:35:36 +0100 |
commit | 8d54183c5719e34e53934459cfd56bed57f9f1f2 (patch) | |
tree | 310833c3bc4121e8aa2f6f3d339886125ce6aa16 /PKGBUILD | |
parent | 7fc466c75d58854a47e65f55b767a05d358d4106 (diff) | |
download | aur-8d54183c5719e34e53934459cfd56bed57f9f1f2.tar.gz |
0.9.51-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 38 |
1 files changed, 21 insertions, 17 deletions
@@ -1,30 +1,34 @@ -# Maintainer: dylan araps <dylan.araps@gmail.com> - +# Maintainer: 0x9fff00 <0x9fff00+git@protonmail.ch> +# Contributor: dylan araps <dylan.araps@gmail.com> +# Contributor: mitts <mittens2001@opmbx.org> pkgname=cydia-impactor _pkgname=Impactor -pkgver=0.9.44 +pkgver=0.9.51 pkgrel=1 pkgdesc="A GUI tool for working with mobile devices" arch=('i686' 'x86_64') url="http://www.cydiaimpactor.com" license=('unknown') -depends=('gtk2' 'fontconfig' 'libudev0-shim' 'ncurses5-compat-libs') +depends=('fontconfig' 'gtk2' 'libsm' 'libudev0-shim' 'ncurses5-compat-libs') +makedepends=('gendesk') +source=("http://www.cydiaimpactor.com/logo.png") source_i686=("https://cache.saurik.com/impactor/l32/Impactor32_${pkgver}.tgz") source_x86_64=("https://cache.saurik.com/impactor/l64/Impactor64_${pkgver}.tgz") -md5sums_i686=('44d8b61cc0620374441b4b17b94ba15d') -md5sums_x86_64=('3067ddb1ab86354fcdbd94ea621946ba') - -package() { - cd "$srcdir/" +sha512sums=('2274b559d0cd0f0c1dbff7f3b85ec12bb6485a225c23071d8367c932d8f7972b9daa9400debac81e19cd1ecaff942ef9d391f74f337652834e41d5a1c0235072') +sha512sums_i686=('6aa4ce10473394d9eded6dc036bf4e2503147ddb2df1ca0cc07ec4aab26046637697f848122ebe4eedb92f0b087a6f94edc1a855a162bb354150dc6fb2bc1ac0') +sha512sums_x86_64=('f440467914d3972536581dcef4bd45092e30afbf72a83dd1f2eb52ced9b5c04d63f18f48c4ca162e345079ac06cafa987a19b32e2f6cc3e0d7776ad82ac93d46') - msg2 "Installing library" - mkdir -p "$pkgdir/usr/lib" - install -Dm755 $_pkgname.so "$pkgdir/usr/lib/" +prepare() { + gendesk -f -n --pkgname "$pkgname" --pkgdesc "$pkgdesc" --name 'Cydia Impactor' --exec $_pkgname --categories 'Utility;' +} - msg2 "Installing dat file" - mkdir -p "$pkgdir/usr/bin" - install -Dm644 $_pkgname.dat "$pkgdir/usr/bin" +package() { + mkdir -p "$pkgdir/usr/bin" + install -m755 $_pkgname "$pkgdir/usr/bin/" + install -m644 $_pkgname.{dat,pem} "$pkgdir/usr/bin" + mkdir -p "$pkgdir/usr/lib" + install -m755 $_pkgname.so "$pkgdir/usr/lib/" - msg2 "Installing binary" - install -Dm755 $_pkgname "$pkgdir/usr/bin/" + install -Dm644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop" + install -Dm644 logo.png "$pkgdir/usr/share/pixmaps/$pkgname.png" } |