[arch-commits] Commit in pacutils/repos (2 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Tue Oct 22 02:28:22 UTC 2019
Date: Tuesday, October 22, 2019 @ 02:28:22
Author: bpiotrowski
Revision: 518184
archrelease: copy trunk to community-staging-x86_64
Added:
pacutils/repos/community-staging-x86_64/
pacutils/repos/community-staging-x86_64/PKGBUILD
(from rev 518183, pacutils/trunk/PKGBUILD)
----------+
PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
Copied: pacutils/repos/community-staging-x86_64/PKGBUILD (from rev 518183, pacutils/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-10-22 02:28:22 UTC (rev 518184)
@@ -0,0 +1,49 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+
+pkgname=pacutils
+pkgver=0.9.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=cb761a911ca54374c0e32f92a177976275dbfe9a"
+ "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