diff options
author | WorMzy Tykashi | 2017-09-04 10:10:19 +0100 |
---|---|---|
committer | WorMzy Tykashi | 2017-09-04 10:10:19 +0100 |
commit | b0f6c67ae4e57acc6745e5da342ca2a1f450e1e3 (patch) | |
tree | 7b895a751fbe88d1fb400f40c871ccb5da4ab7aa | |
download | aur-b0f6c67ae4e57acc6745e5da342ca2a1f450e1e3.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..6c07e454ebff --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +pkgbase = pocketsmith-bin + pkgdesc = Personal finance software with cash flow forecasts + pkgver = 0.1.2 + pkgrel = 1 + url = https://www.pocketsmith.com/ + arch = i686 + arch = x86_64 + license = custom + depends = gconf + depends = nss + depends = alsa-lib + depends = libxtst + depends = gtk2 + depends = libxss + options = !strip + options = !emptydirs + source_i686 = https://d17qi61ltj6gb6.cloudfront.net/0.1.2/pocketsmith_0.1.2_i386.deb + sha256sums_i686 = ea33a23d8b7f0cfcf12dfcd5893058057a4adf1b89e8a022cd606aecc58a3b22 + source_x86_64 = https://d17qi61ltj6gb6.cloudfront.net/0.1.2/pocketsmith_0.1.2_amd64.deb + sha256sums_x86_64 = 888f824b5e1245baf8f604e6066774c96891278cce5d9628a2bd918081edf262 + +pkgname = pocketsmith-bin + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..bd5bce6a7df9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: WorMzy Tykashi <wormzy.tykashi@gmail.com> + +pkgname=pocketsmith-bin +_pkgname=pocketsmith +pkgdesc="Personal finance software with cash flow forecasts" +pkgver=0.1.2 +pkgrel=1 +arch=('i686' 'x86_64') +url='https://www.pocketsmith.com/' +license=('custom') +depends=('gconf' 'nss' 'alsa-lib' 'libxtst' 'gtk2' 'libxss') +options=(!strip !emptydirs) +source_i686=("https://d17qi61ltj6gb6.cloudfront.net/${pkgver}/${_pkgname}_${pkgver}_i386.deb") +source_x86_64=("https://d17qi61ltj6gb6.cloudfront.net/${pkgver}/${_pkgname}_${pkgver}_amd64.deb") +sha256sums_i686=('ea33a23d8b7f0cfcf12dfcd5893058057a4adf1b89e8a022cd606aecc58a3b22') +sha256sums_x86_64=('888f824b5e1245baf8f604e6066774c96891278cce5d9628a2bd918081edf262') + +package() { + bsdtar xf data.tar.xz -C "$pkgdir" + + # fix directory permissions + find "$pkgdir" -type d -exec chmod 755 "{}" + + + # move license to expected dir + mkdir "$pkgdir/usr/share/licenses/" + mv "$pkgdir/usr/share/doc/pocketsmith/" "$pkgdir/usr/share/licenses/pocketsmith-bin/" +} |