diff options
author | Francois Truphemus (melchips) | 2015-07-06 22:32:40 +0200 |
---|---|---|
committer | Francois Truphemus (melchips) | 2015-07-06 22:32:40 +0200 |
commit | a6711349890cb034e8aa92997e9e635252a93bbe (patch) | |
tree | 5accfe574945c9bba55fff755c0c6a7f57fac495 | |
download | aur-a6711349890cb034e8aa92997e9e635252a93bbe.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 36 |
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..6cfd604ef34e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = notify-sharp-git + pkgdesc = C-sharp client implementation for Desktop Notifications, i.e. notification-daemon + pkgver = 3.0.0.r0.gc94bcc9 + pkgrel = 1 + url = https://git.gnome.org/browse/notify-sharp/ + arch = i686 + arch = x86_64 + license = MIT + makedepends = git + depends = mono + depends = gtk-sharp-git + provides = notify-sharp + conflicts = notify-sharp + options = !libtool + source = notify-sharp::git://git.gnome.org/notify-sharp + md5sums = SKIP + +pkgname = notify-sharp-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8527fce60335 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: melchips <truphemus dot francois at gmail dot com> + +pkgname=notify-sharp-git +_gitname=notify-sharp +pkgver=3.0.0.r0.gc94bcc9 +pkgrel=1 +pkgdesc="C-sharp client implementation for Desktop Notifications, i.e. notification-daemon" +arch=('i686' 'x86_64') +url="https://git.gnome.org/browse/notify-sharp/" +license=('MIT') +depends=('mono' 'gtk-sharp-git') +makedepends=('git') +options=('!libtool') +provides=('notify-sharp') +conflicts=('notify-sharp') +source=("$_gitname"::'git://git.gnome.org/notify-sharp') +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/$_gitname" + git describe --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g' +} + +build() { + cd "$srcdir/$_gitname" + + msg2 "Starting make..." + ./autogen.sh --prefix=/usr + make || return 1 +} + +package() { + cd ${srcdir}/${_gitname} + make DESTDIR=${pkgdir} install || return 1 + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |