diff options
author | Doug Penner | 2018-11-24 12:46:59 -0800 |
---|---|---|
committer | Doug Penner | 2018-11-24 12:47:35 -0800 |
commit | 91f33c140d2ffe4a0f194625a9da2b00684db0fe (patch) | |
tree | aecc03a25a38c3c5026793f3ab1e4c88609ac503 | |
parent | bc73ccb6a774754d42013f634cb3c42e4f714d54 (diff) | |
download | aur-91f33c140d2ffe4a0f194625a9da2b00684db0fe.tar.gz |
moved symlink to "package" section and removed install script
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 5 | ||||
-rw-r--r-- | gnocky.install | 12 |
3 files changed, 3 insertions, 15 deletions
@@ -3,7 +3,6 @@ pkgbase = gnocky pkgver = 0.0.7 pkgrel = 2 url = http://www.gnokii.org/ - install = gnocky.install arch = i686 arch = x86_64 license = GPL @@ -9,7 +9,6 @@ url='http://www.gnokii.org/' license=('GPL') depends=('libglade' 'gnokii>=0.6.26' 'libical') makedepends=('make' 'gcc') -install='gnocky.install' source=("http://www.gnokii.org/download/$pkgname/$pkgname-$pkgver.tar.gz") md5sums=('607b25ee3bbfc0cee5664018c302d8e0') @@ -21,6 +20,8 @@ build() { package() { cd $srcdir/$pkgname-$pkgver - make prefix=$pkgdir/usr/share/gnocky install + make prefix=$pkgdir/usr/share/${pkgname} install + mkdir -p $pkgdir/usr/bin/ + ln -s "/usr/share/gnocky/bin/gnocky" "$pkgdir/usr/bin/gnocky" } diff --git a/gnocky.install b/gnocky.install deleted file mode 100644 index 3b306f8b2442..000000000000 --- a/gnocky.install +++ /dev/null @@ -1,12 +0,0 @@ -post_install() { - ln -s /usr/share/gnocky/bin/gnocky /usr/bin/gnocky -} - -pre_remove() { - rm /usr/bin/gnocky -} - -op=$1 -shift - -$op "$@" |