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

Allan McRae allan at archlinux.org
Thu May 20 06:45:16 UTC 2021


    Date: Thursday, May 20, 2021 @ 06:45:15
  Author: allan
Revision: 937884

archrelease: copy trunk to community-staging-x86_64

Added:
  expac/repos/community-staging-x86_64/
  expac/repos/community-staging-x86_64/PKGBUILD
    (from rev 937883, expac/trunk/PKGBUILD)

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

Copied: expac/repos/community-staging-x86_64/PKGBUILD (from rev 937883, expac/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-05-20 06:45:15 UTC (rev 937884)
@@ -0,0 +1,37 @@
+# Maintainer: Dave Reisner <d at falconindy.com>
+
+pkgname=expac
+pkgver=10
+pkgrel=3
+pkgdesc="pacman database extraction utility"
+arch=('x86_64')
+url="https://github.com/falconindy/expac"
+license=('GPL')
+depends=('pacman')
+makedepends=('git' 'perl' 'meson')
+source=("git+https://github.com/falconindy/expac?signed&tag=$pkgver")
+validpgpkeys=('487EACC08557AD082088DABA1EB2638FF56C0C53')  # Dave Reisner
+md5sums=('SKIP')
+
+prepare() {
+  cd "$pkgname"
+
+  sed '/\*\//q' src/expac.c >LICENSE
+}
+
+build() {
+  cd "$pkgname"
+
+  meson build
+  ninja -C build
+}
+
+package() {
+  cd "$pkgname"
+
+  DESTDIR=$pkgdir ninja -C build install
+
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim: ft=sh syn=sh



More information about the arch-commits mailing list