diff options
Diffstat (limited to 'pkgbuild/readline')
-rw-r--r-- | pkgbuild/readline/PKGBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/pkgbuild/readline/PKGBUILD b/pkgbuild/readline/PKGBUILD new file mode 100644 index 0000000..c94ecf9 --- /dev/null +++ b/pkgbuild/readline/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Joseph Hunkeler <jhunk@stsci.edu> +pkgname=readline +pkgver=7.0 +pkgrel=1 +epoch= +pkgdesc="GNU readline library" +arch=('x86_64') +url="https://www.gnu.org/software/readline" +license=('GPL') +groups=('base-devel') +depends=('gettext') +makedepends=('m4' 'libtool') +checkdepends=() +optdepends=() +provides=() +conflicts=() +replaces=() +options=('!docs') +source=("http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz") +md5sums=('205b03a87fc83dab653b628c59b9fc91') + +build() { + cd "$pkgname-$pkgver" + ./configure --prefix=$BUILD_PREFIX --with-curses + make +} + +check() { + cd "$pkgname-$pkgver" + make -k check +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + find $pkgdir -type f ! -perm -u+w -print | xargs -n1 chmod u+w + fix_rpath +} +# vim:set ts=2 sw=2 et: |