[arch-commits] Commit in expac/repos (community-x86_64 community-x86_64/PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Sun Dec 20 14:43:45 UTC 2020


    Date: Sunday, December 20, 2020 @ 14:43:45
  Author: jelle
Revision: 780428

archrelease: copy trunk to community-x86_64

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

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

Copied: expac/repos/community-x86_64/PKGBUILD (from rev 780427, expac/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2020-12-20 14:43:45 UTC (rev 780428)
@@ -0,0 +1,37 @@
+# Maintainer: Dave Reisner <d at falconindy.com>
+
+pkgname=expac
+pkgver=10
+pkgrel=2
+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