autoclean.sh: abide by POSIX shebang
[pacman-ng.git] / doc / PKGBUILD-example.txt
blob238c0f40aa382ef303e17b06177f288c24f22c11
1 # Maintainer: Joe User <joe.user@example.com>
3 pkgname=patch
4 pkgver=2.5.4
5 pkgrel=3
6 pkgdesc="A utility to apply patch files to original sources"
7 arch=('i686' 'x86_64')
8 url="http://www.gnu.org/software/patch/patch.html"
9 license=('GPL')
10 groups=('base-devel')
11 depends=('glibc' 'ed')
12 source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
13 md5sums=('ee5ae84d115f051d87fcaaef3b4ae782')
15 build() {
16   cd "$srcdir"/$pkgname-$pkgver
17   ./configure --prefix=/usr
18   make
21 package() {
22   cd "$srcdir"/$pkgname-$pkgver
23   make prefix="$pkgdir"/usr install