[arch-commits] Commit in pacutils/repos (2 files)
Allan McRae
allan at archlinux.org
Mon May 24 13:15:00 UTC 2021
Date: Monday, May 24, 2021 @ 13:15:00
Author: allan
Revision: 944718
archrelease: copy trunk to community-staging-x86_64
Added:
pacutils/repos/community-staging-x86_64/
pacutils/repos/community-staging-x86_64/PKGBUILD
(from rev 944717, pacutils/trunk/PKGBUILD)
----------+
PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
Copied: pacutils/repos/community-staging-x86_64/PKGBUILD (from rev 944717, pacutils/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-05-24 13:15:00 UTC (rev 944718)
@@ -0,0 +1,49 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+
+pkgname=pacutils
+pkgver=0.11.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=8a732754616067bcb43b44f198a243ea258973d8"
+ "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