[arch-commits] Commit in (pcurses pcurses/repos pcurses/trunk pcurses/trunk/PKGBUILD)

Jakob Gruber schuay at nymeria.archlinux.org
Sat Jan 18 10:09:52 UTC 2014


    Date: Saturday, January 18, 2014 @ 11:09:52
  Author: schuay
Revision: 104341

pcurses-3-2

Added:
  pcurses/
  pcurses/repos/
  pcurses/trunk/
  pcurses/trunk/PKGBUILD

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Added: pcurses/trunk/PKGBUILD
===================================================================
--- pcurses/trunk/PKGBUILD	                        (rev 0)
+++ pcurses/trunk/PKGBUILD	2014-01-18 10:09:52 UTC (rev 104341)
@@ -0,0 +1,29 @@
+# Maintainer: schuay <jakob.gruber at 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:




More information about the arch-commits mailing list