diff options
author | Florian Bruhin | 2014-03-03 07:18:52 +0100 |
---|---|---|
committer | Florian Bruhin | 2014-03-03 07:18:52 +0100 |
commit | be18a8f1c326da16d94360aa5f8fe335d9a3118c (patch) | |
tree | 02a410345d9624f2998d512c16650f56ceddc757 | |
download | aur-be18a8f1c326da16d94360aa5f8fe335d9a3118c.tar.gz |
Add dzen2-* packages
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 46 |
2 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..4c194207bb75 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = dzen2-xft-xpm-xinerama-git + pkgdesc = X notification utility with Xinerama and XMP support, git version. + pkgver = r14.488ab66 + pkgrel = 1 + url = https://github.com/robm/dzen + arch = i686 + arch = x86_64 + license = MIT/X + depends = libxft + depends = libxpm + depends = libxinerama + provides = dzen2 + conflicts = dzen2-svn + conflicts = dzen2 + source = dzen::git+https://github.com/robm/dzen + md5sums = SKIP + +pkgname = dzen2-xft-xpm-xinerama-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e59625f676f9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: Florian Bruhin (The Compiler) <archlinux.org@the-compiler.org> +# Contributor: Andreas B. Wagner <AndreasBWagner@pointfree.net> awagner on irc.freenode.net +# Contributor: Murtuza Akhtari <inxsible at gmail dot com> +# Contributor: BKLive <bkunixos@gmail.com> +# Contributor: Holden Cox <segrived@gmail.com> + +pkgname=dzen2-xft-xpm-xinerama-git +pkgver=r14.488ab66 +pkgrel=1 +pkgdesc="X notification utility with Xinerama and XMP support, git version." +arch=('i686' 'x86_64') +url=('https://github.com/robm/dzen') +license=('MIT/X') +depends=(libxft libxpm libxinerama) +source=('dzen::git+https://github.com/robm/dzen') +md5sums=('SKIP') +conflicts=(dzen2-svn dzen2) +provides=('dzen2') + +pkgver() { + cd "$srcdir/dzen" + printf "r%s.%s" "$(git rev-list --count HEAD)" \ + "$(git rev-parse --short HEAD)" +} + +build() { + cd "$srcdir/dzen" + make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 \ + CFLAGS=" -Wall -Os ${INCS} -DVERSION=\"${VERSION}\" -DDZEN_XINERAMA -DDZEN_XPM -DDZEN_XFT `pkg-config --cflags xft`" \ + LIBS=" -L/usr/lib -lc -L${X11LIB} -lXss -lX11 -lXinerama -lXpm `pkg-config --libs xft`" + + cd "$srcdir/dzen/gadgets" + make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 +} + +package() { + cd "$srcdir/dzen" + make PREFIX=/usr DESTDIR="$pkgdir" install + install -Dm644 README "${pkgdir}/usr/share/doc/${pkgname}/README" + install -Dm644 README.dzen "${pkgdir}/usr/share/doc/${pkgname}/README.dzen" + install -Dm644 CREDITS "${pkgdir}/usr/share/doc/${pkgname}/CREDITS" + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + + cd "$srcdir/dzen/gadgets" + make PREFIX=/usr DESTDIR="$pkgdir" install +} |