diff options
author | PitBall | 2015-07-13 14:22:47 +0200 |
---|---|---|
committer | PitBall | 2015-07-13 14:22:47 +0200 |
commit | 3ded58b4006d9c3af0f69fe395075a6c5ebdb860 (patch) | |
tree | 66fd4829799ef1b7459e44ebb99f1e53f15760b6 | |
download | aur-3ded58b4006d9c3af0f69fe395075a6c5ebdb860.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2f423e5dcde0 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = lib32-libnotify-gtk2 + pkgdesc = Desktop notification library 32bit + pkgver = 0.7.6 + pkgrel = 1 + url = http://library.gnome.org/devel/notification-spec/ + arch = i686 + arch = x86_64 + license = LGPL + depends = libnotify-gtk2 + depends = lib32-gdk-pixbuf2 + depends = lib32-gtk2 + provides = lib32-libnotify=0.7.6 + conflicts = lib32-libnotify + conflicts = lib32-libnotify-git + conflicts = lib32-libnotify-id + conflicts = lib32-libnotify-id-git + replaces = lib32-libnotify + source = http://ftp.gnome.org/pub/GNOME/sources/libnotify/0.7/libnotify-0.7.6.tar.xz + sha256sums = 0ef61ca400d30e28217979bfa0e73a7406b19c32dd76150654ec5b2bdf47d837 + +pkgname = lib32-libnotify-gtk2 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1d1529148340 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: PitBall + +_pkgname=libnotify +pkgname=lib32-${_pkgname}-gtk2 +pkgver=0.7.6 +pkgrel=1 +pkgdesc="Desktop notification library 32bit" +arch=('i686' 'x86_64') +url="http://library.gnome.org/devel/notification-spec/" +license=('LGPL') +depends=('libnotify-gtk2' 'lib32-gdk-pixbuf2' 'lib32-gtk2' ) +conflicts=('lib32-libnotify' 'lib32-libnotify-git' 'lib32-libnotify-id' 'lib32-libnotify-id-git') +provides=("lib32-libnotify=$pkgver") +replaces=('lib32-libnotify') +source=("http://ftp.gnome.org/pub/GNOME/sources/${_pkgname}/0.7/${_pkgname}-${pkgver}.tar.xz") +sha256sums=('0ef61ca400d30e28217979bfa0e73a7406b19c32dd76150654ec5b2bdf47d837') + +build() { + cd ${srcdir}/${_pkgname}-${pkgver} + # Force use GTK-2.0 + sed -e 's/2.90/2.24/' -e 's/gtk+-3.0/gtk+-2.0/' -i configure.ac + autoreconf -fi + export ACLOCAL=aclocal + export AUTOMAKE=automake + export CC="gcc -m32" + export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" + ./configure --prefix=/usr --libdir=/usr/lib32 + make +} + +package() { + cd ${srcdir}/${_pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install + rm -r ${pkgdir}/usr/{bin,include,share} +} |