summaryrefslogtreecommitdiff
path: root/community/xosd/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/xosd/PKGBUILD')
-rw-r--r--community/xosd/PKGBUILD31
1 files changed, 16 insertions, 15 deletions
diff --git a/community/xosd/PKGBUILD b/community/xosd/PKGBUILD
index 8d265fed4..f7cef2249 100644
--- a/community/xosd/PKGBUILD
+++ b/community/xosd/PKGBUILD
@@ -1,29 +1,30 @@
-# $Id: PKGBUILD 41448 2009-06-04 02:08:19Z eric $
-# Maintainer: damir <damir@archlinux.org>
+# $Id: PKGBUILD 55535 2011-09-14 07:50:30Z andrea $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
pkgname=xosd
pkgver=2.2.14
-pkgrel=3
-pkgdesc="XOSD displays text on your screen. On-Screen-Display-libs for some tools."
+pkgrel=4
+pkgdesc="Displays text on your screen. On-Screen-Display-libs for some tools"
arch=("i686" "x86_64" 'mips64el')
license=('GPL2')
url="http://www.ignavus.net/software.html"
-depends=('libxt' 'libxinerama')
+depends=('libxt' 'libxinerama' 'sh')
makedepends=('xmms' 'bmp' 'gdk-pixbuf')
optdepends=('gdk-pixbuf: for using the bmp or xmms plugin')
-options=(!libtool)
-#source=("http://www.ignavus.net/xosd-$pkgver.tar.bz2")
-source=("http://ftp.de.debian.org/debian/pool/main/x/xosd/xosd_$pkgver.orig.tar.gz")
+options=('!libtool')
+source=("http://downloads.sourceforge.net/libxosd/${pkgname}-${pkgver}.tar.gz")
md5sums=('4b349fe930e4eee2f504d6c02673e24d')
build() {
- cd "$srcdir/xosd-$pkgver"
- ./configure --prefix=/usr --mandir=/usr/share/man || return 1
- make || return 1
- make DESTDIR="$pkgdir" install || return 1
- sed -i 's/AC_DEFUN(AM_PATH_LIBXOSD,/AC_DEFUN([AM_PATH_LIBXOSD],/' \
- "$pkgdir/usr/share/aclocal/libxosd.m4" || return 1
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr --mandir=/usr/share/man
+ make
}
-
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ sed -i 's/AC_DEFUN(AM_PATH_LIBXOSD,/AC_DEFUN([AM_PATH_LIBXOSD],/' \
+ "$pkgdir/usr/share/aclocal/libxosd.m4"
+}