summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Hesse2016-05-10 16:01:24 +0200
committerChristian Hesse2016-05-10 16:01:24 +0200
commit91a68b738ab021822926e92696d2d35a0ba25367 (patch)
tree3f91a44d3ea586c0aea7d7be28317fd54f5bcf65
parent005c194454bd5ee47b801ff3a95912d90f5b4f4c (diff)
downloadaur-91a68b738ab021822926e92696d2d35a0ba25367.tar.gz
commit netlink-notify-git 0.7.4.r2.gb08dc6a-1
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD14
-rw-r--r--netlink-notify.install12
3 files changed, 12 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 11435423d764..f14d2bf2f238 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index b9e01080bd6e..f656649cda31 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
-}
-