upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / bbpager / trunk / PKGBUILD
blob7d21eeded5ea73771e6e963ba07ba4b5103d23f2
1 # Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org>
2 # Contributor: Thayer Williams <jason@archlinux.org>
3 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
5 pkgname=bbpager
6 pkgver=0.4.7
7 pkgrel=9
8 pkgdesc="A dockable pager for Blackbox and other window managers"
9 arch=('x86_64')
10 url="http://bbtools.sourceforge.net/download.php?file=6"
11 license=('GPL')
12 depends=('gcc-libs' 'libxft' 'libxext' 'blackbox')
13 makedepends=('patch')
14 source=(https://downloads.sourceforge.net/bbtools/$pkgname-$pkgver.tar.gz
15         02_gcc43.dpatch
16         fix-linking-ugly.diff
17         autotools.patch)
18 sha256sums=('e7063a8d65c25663f44e2769132053bd3f1b90f0d4b19a8d8aa2e5f028f0679d'
19             '52502c91715e1ffa3b2be758ad80fecfbc44bc1a41f3c96d6de08d23196e418e'
20             '7ec451d6cc390f65bcf6c85f4d16662b900896d6b3349ff0566409b4335b765c'
21             'd7da4d58db949389e8a890aac5a17fae7eb7887ef03c9d97c94e50cfe2574aef')
23 prepare() {
24   cd "${srcdir}"/$pkgname-$pkgver
26   patch -Np1 -i ../02_gcc43.dpatch
27   patch -Np1 -i ../fix-linking-ugly.diff
28   patch -Np1 -i ../autotools.patch
30   aclocal
31   automake --add-missing
32   autoreconf
35 build() {
36   cd "${srcdir}"/$pkgname-$pkgver
37   ./configure --prefix=/usr
38   make
41 package() {
42   cd "${srcdir}"/$pkgname-$pkgver
44   make prefix="${pkgdir}"/usr install