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

Johannes Löthberg demize at archlinux.org
Tue Sep 17 01:32:17 UTC 2019


    Date: Tuesday, September 17, 2019 @ 01:32:16
  Author: demize
Revision: 510958

archrelease: copy trunk to community-testing-x86_64

Added:
  pacutils/repos/community-testing-x86_64/
  pacutils/repos/community-testing-x86_64/PKGBUILD
    (from rev 510957, pacutils/trunk/PKGBUILD)

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

Copied: pacutils/repos/community-testing-x86_64/PKGBUILD (from rev 510957, pacutils/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2019-09-17 01:32:16 UTC (rev 510958)
@@ -0,0 +1,49 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+
+pkgname=pacutils
+pkgver=0.8.1
+pkgrel=1
+
+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=e5f8097379fe9edb782c99ef63a6340c4646f586" # tags/v0.8.1
+        "git+https://github.com/andrewgregory/globdir.c#commit=f7ea40047c1b23e5035a3626c9187c64539d66f2"
+        "git+https://github.com/andrewgregory/mINI.c.git#commit=ee64e149ed725b932adf23e0228f7cd8cb856901"
+        "git+https://github.com/andrewgregory/tap.c.git#commit=8ce85ce0ab95593c333e705f6eff44121b29e142")
+sha1sums=('SKIP'
+          'SKIP'
+          'SKIP'
+          'SKIP')
+
+prepare() {
+  cd pacutils
+  git submodule init
+  git config submodule.ext/globdir.c.url "$srcdir/globdir.c"
+  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 CFLAGS="$CFLAGS $LDFLAGS" 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