diff options
author | Christian Hesse | 2016-05-10 16:01:24 +0200 |
---|---|---|
committer | Christian Hesse | 2016-05-10 16:01:24 +0200 |
commit | 91a68b738ab021822926e92696d2d35a0ba25367 (patch) | |
tree | 3f91a44d3ea586c0aea7d7be28317fd54f5bcf65 | |
parent | 005c194454bd5ee47b801ff3a95912d90f5b4f4c (diff) | |
download | aur-91a68b738ab021822926e92696d2d35a0ba25367.tar.gz |
commit netlink-notify-git 0.7.4.r2.gb08dc6a-1
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 14 | ||||
-rw-r--r-- | netlink-notify.install | 12 |
3 files changed, 12 insertions, 19 deletions
@@ -1,9 +1,10 @@ +# Generated by mksrcinfo v8 +# Tue May 10 14:01:24 UTC 2016 pkgbase = netlink-notify-git pkgdesc = Notify about netlink changes - git checkout - pkgver = 0.6.3.r3.gdde8c75 + pkgver = 0.7.4.r2.gb08dc6a pkgrel = 1 url = https://github.com/eworm-de/netlink-notify - install = netlink-notify.install arch = i686 arch = x86_64 license = GPL @@ -1,7 +1,7 @@ # Maintainer: Christian Hesse <mail@eworm.de> pkgname=netlink-notify-git -pkgver=0.6.3.r3.gdde8c75 +pkgver=0.7.4.r2.gb08dc6a pkgrel=1 pkgdesc="Notify about netlink changes - git checkout" arch=('i686' 'x86_64') @@ -11,16 +11,21 @@ makedepends=('git' 'imagemagick' 'markdown') provides=('netlink-notify') conflicts=('netlink-notify') license=('GPL') -install=netlink-notify.install source=('git://github.com/eworm-de/netlink-notify.git') +sha256sums=('SKIP') pkgver() { cd netlink-notify/ if GITTAG="$(git describe --abbrev=0 --tags 2>/dev/null)"; then - echo "$(sed -e "s/^${pkgname%%-git}//" -e 's/^[-_/a-zA-Z]\+//' -e 's/[-_+]/./g' <<< ${GITTAG}).r$(git rev-list --count ${GITTAG}..).g$(git log -1 --format="%h")" + printf '%s.r%s.g%s' \ + "$(sed -e "s/^${pkgname%%-git}//" -e 's/^[-_/a-zA-Z]\+//' -e 's/[-_+]/./g' <<< ${GITTAG})" \ + "$(git rev-list --count ${GITTAG}..)" \ + "$(git log -1 --format='%h')" else - echo "0.r$(git rev-list --count master).g$(git log -1 --format="%h")" + printf '0.r%s.g%s' \ + "$(git rev-list --count master)" \ + "$(git log -1 --format='%h')" fi } @@ -36,4 +41,3 @@ package() { make DESTDIR="${pkgdir}" install } -sha256sums=('SKIP') diff --git a/netlink-notify.install b/netlink-notify.install deleted file mode 100644 index 6204edafc8f6..000000000000 --- a/netlink-notify.install +++ /dev/null @@ -1,12 +0,0 @@ -post_install() { - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} - |