summaryrefslogtreecommitdiff
path: root/community/pcurses
diff options
context:
space:
mode:
Diffstat (limited to 'community/pcurses')
-rw-r--r--community/pcurses/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/pcurses/PKGBUILD b/community/pcurses/PKGBUILD
new file mode 100644
index 000000000..1cc5e1827
--- /dev/null
+++ b/community/pcurses/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: schuay <jakob.gruber@gmail.com>
+
+pkgname=pcurses
+pkgver=3
+pkgrel=2
+pkgdesc='A curses package management tool using libalpm'
+arch=('x86_64' 'i686')
+url="https://github.com/schuay/$pkgname"
+license=('GPL')
+depends=('ncurses' 'pacman>=4.1.2')
+makedepends=('boost' 'cmake' 'git')
+source=("git://github.com/schuay/pcurses.git#tag=pcurses-$pkgver")
+md5sums=('SKIP')
+
+build() {
+ rm -rf "$srcdir/$pkgname-build"
+ mkdir "$srcdir/$pkgname-build"
+ cd "$srcdir/$pkgname-build"
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr "$srcdir/$pkgname"
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-build"
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et: