diff options
author | Florian Dejonckheere | 2013-05-07 20:56:11 +0200 |
---|---|---|
committer | Florian Dejonckheere | 2013-05-07 20:56:11 +0200 |
commit | 6567806a84682f5d0d4c77ec073521be72dd2751 (patch) | |
tree | 84913efbe709c2df5c41244c443e5dcf37f39deb | |
parent | c0ec016ddcd29b1a742f24e73c164e6da5e6e8c8 (diff) | |
download | aur-6567806a84682f5d0d4c77ec073521be72dd2751.tar.gz |
Updated libnotify-id-git
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 46 |
2 files changed, 28 insertions, 26 deletions
@@ -1,21 +1,23 @@ pkgbase = libnotify-id-git pkgdesc = Gnome notification library, including ID patch - pkgver = 20130129 + pkgver = 0.7.5.1.g6982957 pkgrel = 1 url = http://library.gnome.org/devel/libnotify/ arch = i686 arch = x86_64 - license = GPL2.1 + license = GPL2 makedepends = pkgconfig makedepends = git makedepends = gobject-introspection makedepends = gtk-doc - makedepends = gnome-common-git + makedepends = gnome-common provides = libnotify=0.7.5 conflicts = libnotify conflicts = libnotify-git options = !libtool + source = libnotify-id-git::git://git.gnome.org/libnotify.git source = https://launchpadlibrarian.net/105791133/print-and-replace-id-v3.patch + md5sums = SKIP md5sums = f75d23de7ee23e37ac36889ece359587 pkgname = libnotify-id-git @@ -1,38 +1,38 @@ # Maintainer: Florian Dejonckheere <florian@floriandejonckheere.be> pkgname=libnotify-id-git -pkgver=20130129 +pkgver=0.7.5.1.g6982957 pkgrel=1 pkgdesc="Gnome notification library, including ID patch" arch=('i686' 'x86_64') -license=('GPL2.1') +license=('GPL2') url="http://library.gnome.org/devel/libnotify/" -depends=() -makedepends=('pkgconfig' 'git' 'gobject-introspection' 'gtk-doc' 'gnome-common-git') +makedepends=('pkgconfig' 'git' 'gobject-introspection' 'gtk-doc' 'gnome-common') options=('!libtool') conflicts=('libnotify' 'libnotify-git') provides=('libnotify=0.7.5') -source=('https://launchpadlibrarian.net/105791133/print-and-replace-id-v3.patch') -md5sums=('f75d23de7ee23e37ac36889ece359587') - -_gitroot="git://git.gnome.org/libnotify.git" -_gitname="libnotify" +source=('libnotify-id-git::git://git.gnome.org/libnotify.git' + 'https://launchpadlibrarian.net/105791133/print-and-replace-id-v3.patch') +md5sums=('SKIP' + 'f75d23de7ee23e37ac36889ece359587') +pkgver(){ + cd "${srcdir}/${pkgname}" + git describe --always | sed 's|-|.|g' +} -build() { - cd ${srcdir} - msg "Connecting to git.gnome.org GIT server...." +prepare() { + cd "${srcdir}/${pkgname}" + patch -p1 < ../../print-and-replace-id-v3.patch +} - if [ -d ${srcdir}/$_gitname ] ; then - cd $_gitname && git pull origin - msg "The local files are updated." - else - git clone $_gitroot - fi +build(){ + cd "${srcdir}/${pkgname}" + ./autogen.sh --prefix=/usr + make +} - cd ${srcdir}/$_gitname - patch -p1 < ../../print-and-replace-id-v3.patch - ./autogen.sh --prefix=/usr - make || return 1 - make DESTDIR="$pkgdir/" install || return 1 +package(){ + cd "${srcdir}/${pkgname}" + make DESTDIR="${pkgdir}" install } |