updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / guile-ncurses / PKGBUILD
bloba4ed320f1b80f03b6e7448149a427c7b37cf4039
1 # Contributor: tantalum <tantalum at online dot de>
2 pkgname=guile-ncurses
3 pkgver=1.3
4 pkgrel=1
5 pkgdesc='Guile bindings for the GNU NCurses library'
6 arch=(any)
7 license=(GLPL3)
8 depends=(guile ncurses libunistring)
9 url=http://www.gnu.org/software/guile-ncurses/
10 source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
11 md5sums=(b9f20e0cbf1f2d19bb7e01c44356f1b7)
13 build() {
14  cd ${srcdir}/${pkgname}-${pkgver}
16  ./configure --prefix=/usr --with-ncursesw --with-guilesitedir="$(guile-config info sitedir)" ||return 1
17  make && make DESTDIR=${pkgdir} install ||return 1
19  #remove documentation
20  if [ -e ${pkgdir}/usr/share/info/dir ]; then
21   rm ${pkgdir}/usr/share/info/dir
22  fi