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

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Tue Oct 22 02:09:09 UTC 2019


    Date: Tuesday, October 22, 2019 @ 02:09:09
  Author: bpiotrowski
Revision: 365287

archrelease: copy trunk to staging-x86_64

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

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

Copied: expac/repos/staging-x86_64/PKGBUILD (from rev 365286, expac/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2019-10-22 02:09:09 UTC (rev 365287)
@@ -0,0 +1,37 @@
+# Maintainer: Dave Reisner <d at falconindy.com>
+
+pkgname=expac
+pkgver=9
+pkgrel=2
+pkgdesc="pacman database extraction utility"
+arch=('x86_64')
+url="https://github.com/falconindy/expac"
+license=('GPL')
+depends=('pacman')
+makedepends=('perl')
+source=("https://pkgbuild.com/~dreisner/sources/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig})
+validpgpkeys=('487EACC08557AD082088DABA1EB2638FF56C0C53')  # Dave Reisner
+md5sums=('d1250004182effe1769cfd269d5df2fb'
+         'SKIP')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  sed '/\*\//q' expac.c >LICENSE
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  make PREFIX=/usr DESTDIR="$pkgdir" install
+
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim: ft=sh syn=sh



More information about the arch-commits mailing list