PKGBUILDs/community/beaver/PKGBUILD
2009-10-09 21:15:33 -05:00

31 lines
1.2 KiB
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Geoffroy Carrier <geoffroy.carrier@aur.archlinux.org>
# Contributor: Tim Yang <creslin@gmx.com>
# Contributor: Andrew Krawchyk <krawch_a@denison.edu>
# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
# Contributor: Aurelien Foret <orelien@chez.com>
pkgname=beaver
pkgver=0.3.0.1
pkgrel=5
pkgdesc="Beaver is an Early AdVanced EditoR"
arch=('i686' 'x86_64')
url="http://www.nongnu.org/beaver"
license=('GPL2')
depends=('gtk2>=2.0.0')
install=$pkgname.install
source=(http://download.savannah.gnu.org/releases/$pkgname/"$pkgver"%20-%202008.06.26/"$pkgname"0_3_0_1.tgz \
Makefile.patch \
interface.c.patch \
main.h.patch)
build() {
cd "$srcdir/$pkgname"0_3_0_1
patch ./src/Makefile "$srcdir"/Makefile.patch || return 1
patch ./src/interface.c "$srcdir"/interface.c.patch || return 1
patch ./src/main.h "$srcdir"/main.h.patch || return 1
make || return 1
make DESTDIR="$pkgdir/usr" install || return 1
}
md5sums=('01c6d921bf2ef900f8e8ac05f29e4ef9'
'897f600f3ed623249d3f81264096ec45'
'c6e372e5f78618eaa78ef57672dfb5b8'
'd86407df4b68243ffd0d1675726d8802')