diff options
author | ScoopNewsworthy | 2018-12-11 01:21:07 -0500 |
---|---|---|
committer | ScoopNewsworthy | 2018-12-11 01:21:07 -0500 |
commit | 1aa8d8c6d3b8dbf5ea04903dc92b7578bf67ef27 (patch) | |
tree | bf3ba317ea496b6a5b5311b89cb27e7bd300e6ba | |
download | aur-1aa8d8c6d3b8dbf5ea04903dc92b7578bf67ef27.tar.gz |
First initial AUR upload. A slightly tweaked building using debtap and the most recent version of Obinslab.
-rw-r--r-- | .SRCINFO | 24 | ||||
-rw-r--r-- | PKGBUILD | 24 | ||||
-rw-r--r-- | obinslab-starter.install | 19 |
3 files changed, 67 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b87998ca5215 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,24 @@ +pkgbase = obinslab-starter + pkgdesc = Obinslab Starter for Anne Pro and Anne Pro 2 + pkgver = 1.0.5 + pkgrel = 1 + url = http://en.obins.net/obinslab-starter + install = obinslab-starter.install + arch = x86_64 + license = Custom + license = Proprietary + depends = desktop-file-utils + depends = gconf + depends = hicolor-icon-theme + depends = libappindicator-gtk2 + depends = libnotify + depends = libxss + depends = libxtst + depends = nss + options = !strip + options = !emptydirs + source_x86_64 = http://releases.obins.net/occ/linux/deb/ObinslabStarter_1.0.5.deb + sha512sums_x86_64 = 0adcce6146be6dd2c1394cbc4f439b903f8c0c4948f88fe8b33598a0a1529b4862fbe549451a04f30fc0ff79a7bbed332cda6524f49b7b6a4013c3c187f7144b + +pkgname = obinslab-starter + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..10a9271526e3 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Generated by debtap +# Maintainer: Nick Haghiri (n s dot hag hiri at G mail dot com) +pkgname=obinslab-starter +pkgver=1.0.5 +pkgrel=1 +pkgdesc="Obinslab Starter for Anne Pro and Anne Pro 2" +arch=('x86_64') +url="http://en.obins.net/obinslab-starter" +license=('Custom' 'Proprietary') +groups=('') +depends=('desktop-file-utils' 'gconf' 'hicolor-icon-theme' 'libappindicator-gtk2' 'libnotify' 'libxss' 'libxtst' 'nss') +options=('!strip' '!emptydirs') +install=${pkgname}.install +source_x86_64=("http://releases.obins.net/occ/linux/deb/ObinslabStarter_1.0.5.deb") +sha512sums_x86_64=('0adcce6146be6dd2c1394cbc4f439b903f8c0c4948f88fe8b33598a0a1529b4862fbe549451a04f30fc0ff79a7bbed332cda6524f49b7b6a4013c3c187f7144b') + +package(){ + + # Extract package data + tar xf data.tar.xz -C "${pkgdir}" + + install -D -m644 "/opt/Obinslab Starter/LICENSES.chromium.html" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + +} diff --git a/obinslab-starter.install b/obinslab-starter.install new file mode 100644 index 000000000000..cc25d0427608 --- /dev/null +++ b/obinslab-starter.install @@ -0,0 +1,19 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + + # Link to the binary + ln -sf '/opt/Obinslab Starter/obinslab-starter' '/usr/bin/obinslab-starter' + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + + # Delete the link to the binary + rm -f '/usr/bin/obinslab-starter' + update-desktop-database -q +} |