diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2012-12-06 05:58:58 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2012-12-06 05:58:58 -0500 |
commit | 5744b9c41fe6cb916e3ce6b4b0cad8597ef9e409 (patch) | |
tree | 796b427fc36482026f8d3a50ed8b32be75080fae /community/gshutdown/PKGBUILD | |
parent | 14bebd3dada7119d2752f26c90b3e326b3c6ee57 (diff) |
Add gshutdown-0.2-glib.patch
Diffstat (limited to 'community/gshutdown/PKGBUILD')
-rw-r--r-- | community/gshutdown/PKGBUILD | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/community/gshutdown/PKGBUILD b/community/gshutdown/PKGBUILD index 31bb7d762..36a1fc53a 100644 --- a/community/gshutdown/PKGBUILD +++ b/community/gshutdown/PKGBUILD @@ -11,12 +11,14 @@ url="http://gshutdown.tuxfamily.org" license=('GPL') depends=('libglade' 'libnotify') makedepends=('pkg-config') -source=(http://gshutdown.tuxfamily.org/release/$pkgname-$pkgver.tar.gz) -md5sums=('c0662f6b74fa1be10e4d34bfc5731d9b') -sha1sums=('ab73b1d6c36831df82d231ffa333cdf394fd5b3e') +source=(http://gshutdown.tuxfamily.org/release/$pkgname-$pkgver.tar.gz + gshutdown-0.2-glib.patch) +md5sums=('c0662f6b74fa1be10e4d34bfc5731d9b' + '8d624b2651240d5dffd5fd208a5354ff') build() { cd "$srcdir/$pkgname-$pkgver" + patch -Np1 -i ${srcdir}/gshutdown-0.2-glib.patch sed -i 's/notify_notification_new("GShutdown", message, NULL, GTK_WIDGET(widget));/notify_notification_new("GShutdown", message, GTK_WIDGET(widget));/' src/gui.c LDFLAGS="-lX11 -lXau" ./configure --prefix=/usr --mandir=/usr/share make |