summaryrefslogtreecommitdiff
path: root/community/xosd/PKGBUILD
blob: 257e5215b3b4b23c4322dc6bf7ce1c4c9e0945ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $Id: PKGBUILD 100303 2013-11-02 08:52:28Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>

pkgname=xosd
pkgver=2.2.14
pkgrel=7
pkgdesc="Displays text on your screen. On-Screen-Display-libs for some tools"
arch=('i686' 'x86_64')
license=('GPL2')
url="http://www.ignavus.net/software.html"
depends=('libxt' 'libxinerama' 'sh')
makedepends=('xmms' 'gdk-pixbuf')
optdepends=('gdk-pixbuf: for using the xmms plugin')
source=("http://downloads.sourceforge.net/libxosd/${pkgname}-${pkgver}.tar.gz"
	"http://ftp.de.debian.org/debian/pool/main/x/xosd/xosd_$pkgver-2.debian.tar.gz")
md5sums=('4b349fe930e4eee2f504d6c02673e24d'
         'cd3c37f4e4bbfba6f3ffd7ec43256cc2')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  patch -p1 <$srcdir/debian/patches/25_fix_mangapges.diff
  patch -p1 <$srcdir/debian/patches/328676.diff
  ./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"
}