diff options
author | zfo | 2016-05-24 22:32:34 +0200 |
---|---|---|
committer | zfo | 2016-05-24 22:32:34 +0200 |
commit | eb5d4a246d9b3f26a70de8aaa7ae234bebc3ba68 (patch) | |
tree | fdad4cee7e778b43f23ed4dfacc068946d9449eb /PKGBUILD | |
download | aur-eb5d4a246d9b3f26a70de8aaa7ae234bebc3ba68.tar.gz |
init
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..769ee0cbb035 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: zfo <zfoofz1 at gmail dot com> + +pkgname=linenoise +pkgver=1.0 +pkgrel=1 +pkgdesc="A small self-contained alternative to readline and libedit" +arch=('i686' 'x86_64') +url="https://github.com/antirez/linenoise" +license=('BSD') +depends=() +source=("https://github.com/antirez/linenoise/archive/$pkgver.tar.gz") +md5sums=('57c163f6e53bdb5b8f935cafb714ab16') + +build() { + cd "$pkgname-$pkgver" + cc -shared -fPIC linenoise.c -o liblinenoise.so +} + +package() { + cd "$pkgname-$pkgver" + install -D -m644 ./liblinenoise.so $pkgdir/usr/lib/liblinenoise.so +} |