[arch-commits] Commit in pcurses/repos (2 files)

Jakob Gruber schuay at archlinux.org
Thu May 20 19:18:24 UTC 2021


    Date: Thursday, May 20, 2021 @ 19:18:23
  Author: schuay
Revision: 939552

archrelease: copy trunk to community-staging-x86_64

Added:
  pcurses/repos/community-staging-x86_64/
  pcurses/repos/community-staging-x86_64/PKGBUILD
    (from rev 939551, pcurses/trunk/PKGBUILD)

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

Copied: pcurses/repos/community-staging-x86_64/PKGBUILD (from rev 939551, pcurses/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-05-20 19:18:23 UTC (rev 939552)
@@ -0,0 +1,29 @@
+# Maintainer: schuay <jakob.gruber at gmail.com>
+
+pkgname=pcurses
+pkgver=5
+pkgrel=4
+pkgdesc='A curses package management tool using libalpm'
+arch=('x86_64')
+url="https://github.com/schuay/$pkgname"
+license=('GPL')
+depends=('ncurses' 'pacman')
+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