[arch-commits] Commit in pacutils/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Christian Hesse eworm at archlinux.org
Mon May 28 06:17:44 UTC 2018


    Date: Monday, May 28, 2018 @ 06:17:44
  Author: eworm
Revision: 332118

archrelease: copy trunk to staging-x86_64

Added:
  pacutils/repos/staging-x86_64/
  pacutils/repos/staging-x86_64/PKGBUILD
    (from rev 332117, pacutils/trunk/PKGBUILD)

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

Copied: pacutils/repos/staging-x86_64/PKGBUILD (from rev 332117, pacutils/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2018-05-28 06:17:44 UTC (rev 332118)
@@ -0,0 +1,46 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+
+pkgname=pacutils
+pkgver=0.6.2
+pkgrel=2
+
+pkgdesc='Helper tools for libalpm'
+url='https://github.com/andrewgregory/pacutils'
+arch=('x86_64')
+license=('MIT')
+
+depends=('pacman')
+makedepends=('git')
+
+source=("git+https://github.com/andrewgregory/pacutils.git#commit=a8302fd8c059c9ab240b8b2ac49dfef369f2287a"
+        "git+https://github.com/andrewgregory/mINI.c.git"
+        "git+https://github.com/andrewgregory/tap.c.git")
+sha1sums=('SKIP'
+          'SKIP'
+          'SKIP')
+
+prepare() {
+  cd pacutils
+  git submodule init
+  git config submodule.ext/mini.c.url "$srcdir/mINI.c"
+  git config submodule.t/tap.c.url "$srcdir/tap.c"
+  git submodule update
+}
+
+build() {
+  cd pacutils
+  make SYSCONFDIR=/etc LOCALSTATEDIR=/var
+}
+
+check() {
+  cd pacutils
+  make check
+}
+
+package() {
+  cd pacutils
+  make DESTDIR="$pkgdir" PREFIX=/usr install
+  install -Dm644 COPYING "$pkgdir"/usr/share/licenses/"$pkgname"/COPYING
+}
+
+# vim: set ft=PKGBUILD et sw=2:



More information about the arch-commits mailing list