[arch-commits] Commit in pacutils/repos (2 files)
Johannes Löthberg
demize at archlinux.org
Fri Mar 22 18:14:54 UTC 2019
Date: Friday, March 22, 2019 @ 18:14:53
Author: demize
Revision: 443179
archrelease: copy trunk to community-testing-x86_64
Added:
pacutils/repos/community-testing-x86_64/
pacutils/repos/community-testing-x86_64/PKGBUILD
(from rev 443178, pacutils/trunk/PKGBUILD)
----------+
PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
Copied: pacutils/repos/community-testing-x86_64/PKGBUILD (from rev 443178, pacutils/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2019-03-22 18:14:53 UTC (rev 443179)
@@ -0,0 +1,49 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+
+pkgname=pacutils
+pkgver=0.7.0
+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=4714b035237b97a01875734592e02986b48d5111" # tags/v0.7.0
+ "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