summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 048c4c8fa90a10aefe29033bab844361e935ee99 (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
28
29
30
31
32
33
34
35
36
# Maintainer: Fredrick R. Brennan <copypaste@kittens.ph>
# Contributor: Brian BIdulock <bidulock@openss7.org>
pkgname=sensible-utils
pkgver=0.0.17
_debianextra=+nmu1
pkgrel=1
pkgdesc="Utilities for sensible alternative selection"
arch=('any')
url="http://packages.debian.org/source/sid/sensible-utils"
license=('GPL')
depends=('bash')
makedepends=('po4a')
checkdepends=('ed')
source=(http://ftp.debian.org/debian/pool/main/s/$pkgname/${pkgname}_${pkgver}${_debianextra}.tar.xz)
sha256sums=('a4ead62e0dc8f965453221dcb09c964abc4f1bedad24f527d33c443a1570cb31')

build() {
  cd ${pkgname}-${pkgver}${_debianextra}
  export -n EDITOR VISUAL
  ./configure --prefix=/usr
  make
}

check() {
  cd ${pkgname}-${pkgver}${_debianextra}
  export -n EDITOR VISUAL
  make -k check
}

package() {
  cd ${pkgname}-${pkgver}${_debianextra}
  export -n EDITOR VISUAL
  make DESTDIR="$pkgdir/" install
}

# vim:set ts=2 sw=2 et: