Date: Saturday, May 16, 2020 @ 09:54:11 Author: felixonmars Revision: 383975
archrelease: copy trunk to staging-x86_64 Added: expac/repos/staging-x86_64/ expac/repos/staging-x86_64/PKGBUILD (from rev 383974, expac/trunk/PKGBUILD) ----------+ PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) Copied: expac/repos/staging-x86_64/PKGBUILD (from rev 383974, expac/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2020-05-16 09:54:11 UTC (rev 383975) @@ -0,0 +1,37 @@ +# Maintainer: Dave Reisner <d...@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