makepkg: run tidy_install with no package() function
[pacman-ng.git] / doc / PKGBUILD-example.txt
blob0477cb1a76606d42022a5209b0211b9909e3ed2c
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 || return 1
19   make prefix=$pkgdir/usr install