diff options
author | sagiri | 2019-06-01 13:39:41 +0800 |
---|---|---|
committer | sagiri | 2019-06-01 13:39:41 +0800 |
commit | 0a5bce16204d98be1412fd63f632fb97cd931b78 (patch) | |
tree | b5109f44bac353b988a073aa563e409c429c6466 | |
parent | f71bd36e440d4f7c25cf8bd08e2218c1f84edcd1 (diff) | |
download | aur-0a5bce16204d98be1412fd63f632fb97cd931b78.tar.gz |
by script add bin
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 3 | ||||
-rw-r--r-- | mob.install | 7 |
3 files changed, 10 insertions, 1 deletions
@@ -3,6 +3,7 @@ pkgbase = mob pkgver = 0.2.1_81 pkgrel = 1 url = https://github.com/zenghongtu/Mob + install = mob.install arch = x86_64 license = TIM depends = libxtst @@ -8,6 +8,7 @@ url="https://github.com/zenghongtu/Mob" arch=('x86_64') license=('TIM') depends=('libxtst' 'gtk2' 'libxss' 'nss' 'gconf' 'alsa-lib') +install=${pkgname}.install source=('https://github.com/zenghongtu/Mob/releases/download/v0.2.1/Mob-0.2.1-linux-amd64.deb') md5sums=('381489074915522f8b34059585357ede') @@ -18,6 +19,6 @@ package(){ tar -xJvf data.tar.xz -C "${pkgdir}" mkdir ${pkgdir}/usr/bin - ln -s ${pkgdir}/opt/Mob/mob ${pkgdir}/usr/bin/mob +# ln -s ${pkgdir}/opt/Mob/mob ${pkgdir}/usr/bin/mob } diff --git a/mob.install b/mob.install new file mode 100644 index 000000000000..601f1e95d661 --- /dev/null +++ b/mob.install @@ -0,0 +1,7 @@ +post_install() { + ln -s /opt/Mob/mob /usr/bin/mob +} + +pre_remove() { + rm /usr/bin/mob +} |