summaryrefslogtreecommitdiff
path: root/community/patchutils/PKGBUILD
blob: af555da4df724796a65820d86ffc8fa800df4fd2 (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
# $Id: PKGBUILD 93496 2013-07-04 12:40:49Z lcarlier $
# Contributor: Aurelien Foret <orelien@chez.com>
# Maintainer: Douglas Soares de Andrade <douglas@archlinux.org>

pkgname=patchutils
pkgver=0.3.3
pkgrel=1
pkgdesc="A small collection of programs that operate on patch files"
license=('GPL')
url="http://cyberelk.net/tim/patchutils/"
depends=('perl')
arch=('i686' 'x86_64' 'mips64el')
source=(http://cyberelk.net/tim/data/patchutils/stable/$pkgname-$pkgver.tar.xz)
md5sums=('b640b6b8af6183f83eacf7bd6d2460cb')

build() {
  cd $srcdir/$pkgname-$pkgver

  ./configure --prefix=/usr
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver

  make DESTDIR=$pkgdir install
}