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

Christian Hesse eworm at archlinux.org
Mon May 28 06:08:55 UTC 2018


    Date: Monday, May 28, 2018 @ 06:08:54
  Author: eworm
Revision: 325058

archrelease: copy trunk to staging-x86_64

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

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

Copied: expac/repos/staging-x86_64/PKGBUILD (from rev 325057, expac/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2018-05-28 06:08:54 UTC (rev 325058)
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 87501 2013-04-02 00:06:04Z dreisner $
+# Maintainer: Dave Reisner <d at falconindy.com>
+
+pkgname=expac
+pkgver=8
+pkgrel=2
+pkgdesc="pacman database extraction utility"
+arch=('x86_64')
+url="http://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=('ddecaf655df9c714e39ab786dde57640'
+         '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