summaryrefslogtreecommitdiff
path: root/community/dzen2/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/dzen2/PKGBUILD')
-rw-r--r--community/dzen2/PKGBUILD22
1 files changed, 11 insertions, 11 deletions
diff --git a/community/dzen2/PKGBUILD b/community/dzen2/PKGBUILD
index 810d8ba52..c3e8b3a85 100644
--- a/community/dzen2/PKGBUILD
+++ b/community/dzen2/PKGBUILD
@@ -1,37 +1,37 @@
-# $Id: PKGBUILD 57590 2011-10-31 07:59:11Z spupykin $
+# $Id: PKGBUILD 74814 2012-08-06 08:20:11Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Mark Taylor <skymt0@gmail.com>
pkgname=dzen2
-pkgver=0.8.5
-pkgrel=7
+pkgver=0.9.5git
+pkgrel=1
arch=(i686 x86_64)
pkgdesc="X notification utility"
-url="http://gotmor.googlepages.com/dzen"
+url="https://github.com/robm/dzen"
license=("MIT")
depends=('libx11' 'libxpm' 'libxinerama' 'libxft')
makedepends=('gcc')
-source=(http://gotmor.googlepages.com/$pkgname-$pkgver.tar.gz)
-md5sums=('5978620c2124c8a8ad52d7f17ce94fd7')
+source=($pkgname-$pkgver.zip::https://github.com/robm/dzen/zipball/master)
+md5sums=('bcaa565ebd8c3c7f3d06f8f20de6340a')
build()
{
- cd $srcdir/dzen2-$pkgver
+ cd $srcdir/robm-dzen-*
CFLAGS=" -Wall -Os ${INCS} -DVERSION=\"${VERSION}\" -DDZEN_XINERAMA -DDZEN_XPM -DDZEN_XFT `pkg-config --cflags xft`"
- LIBS=" -L/usr/lib -lc -L${X11LIB} -lX11 -lXinerama -lXpm `pkg-config --libs xft`"
+ LIBS=" -L/usr/lib -lc -lXft -lXpm -lXinerama -lX11"
echo "CFLAGS=$CFLAGS" >>config.mk
echo "LIBS=$LIBS" >>config.mk
echo "LDFLAGS=$LIBS" >>config.mk
make X11INC=/usr/include X11LIB=/usr/lib
- (cd $srcdir/dzen2-$pkgver/gadgets && make X11INC=/usr/include X11LIB=/usr/lib)
+ (cd gadgets && make X11INC=/usr/include X11LIB=/usr/lib)
}
package() {
- cd $srcdir/dzen2-$pkgver
+ cd $srcdir/robm-dzen-*
make PREFIX=/usr MANPREFIX=/usr/man DESTDIR=$pkgdir install
- (cd $srcdir/dzen2-$pkgver/gadgets && make PREFIX=/usr MANPREFIX=/usr/man DESTDIR=$pkgdir install)
+ (cd gadgets && make PREFIX=/usr MANPREFIX=/usr/man DESTDIR=$pkgdir install)
install -m644 -D LICENSE $pkgdir/usr/share/licenses/dzen2/COPYING
}