[arch-commits] Commit in (expac expac/repos expac/trunk expac/trunk/PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Sun Dec 20 14:43:41 UTC 2020
Date: Sunday, December 20, 2020 @ 14:43:40
Author: jelle
Revision: 780427
extra2community: Moving expac from extra to community
Added:
expac/
expac/repos/
expac/trunk/
expac/trunk/PKGBUILD
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Added: expac/trunk/PKGBUILD
===================================================================
--- expac/trunk/PKGBUILD (rev 0)
+++ expac/trunk/PKGBUILD 2020-12-20 14:43:40 UTC (rev 780427)
@@ -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