aboutsummaryrefslogtreecommitdiff
path: root/pkgbuild/readline
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2018-03-13 11:32:48 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2018-03-13 11:32:48 -0400
commit0986e78484599ae055896f00b88ad588c6ba2d81 (patch)
tree6c15225d13d1989a96685d5e68d95178b43310e5 /pkgbuild/readline
parentc9dcc820b15fb98a7288aed6c87570a263e6dd63 (diff)
downloadpacman-buildsys-master.tar.gz
Initial commit of pkgbuildsHEADmaster
Diffstat (limited to 'pkgbuild/readline')
-rw-r--r--pkgbuild/readline/PKGBUILD39
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: