summaryrefslogtreecommitdiff
path: root/community/pkgfile
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-18 00:01:34 +0000
committerroot <root@rshg054.dnsready.net>2012-07-18 00:01:34 +0000
commit63d179775e063452db6358e15b9847e7fc6c84b6 (patch)
tree0082531329e5caae873c4eb5f1fbd41d2a98d938 /community/pkgfile
parent412d061bfbf23d1e908eed3f8405b1af46fb1ba8 (diff)
Wed Jul 18 00:01:34 UTC 2012
Diffstat (limited to 'community/pkgfile')
-rw-r--r--community/pkgfile/PKGBUILD26
-rw-r--r--community/pkgfile/pkgfile.install5
2 files changed, 31 insertions, 0 deletions
diff --git a/community/pkgfile/PKGBUILD b/community/pkgfile/PKGBUILD
new file mode 100644
index 000000000..029b2347e
--- /dev/null
+++ b/community/pkgfile/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 73908 2012-07-17 01:41:42Z dreisner $
+# Maintainer: Dave Reisner <dreisner@archlinux.org>
+
+pkgname=pkgfile
+pkgver=1
+pkgrel=1
+pkgdesc="a pacman .files metadata explorer"
+arch=('i686' 'x86_64')
+url="http://github.com/falconindy/pkgfile"
+license=('MIT')
+depends=('libarchive' 'curl' 'pcre' 'pacman')
+conflicts=('pkgtools<24-2')
+makedepends=('perl')
+source=("https://github.com/downloads/falconindy/$pkgname/$pkgname-$pkgver.tar.gz")
+install=pkgfile.install
+md5sums=('14e4e666fd6bfeae6fcb9313737c780d')
+
+build() {
+ make -C "$pkgname-$pkgver"
+}
+
+package() {
+ make -C "$pkgname-$pkgver" PREFIX=/usr DESTDIR="$pkgdir" install
+}
+
+# vim: ft=sh syn=sh
diff --git a/community/pkgfile/pkgfile.install b/community/pkgfile/pkgfile.install
new file mode 100644
index 000000000..7653630b0
--- /dev/null
+++ b/community/pkgfile/pkgfile.install
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+post_install() {
+ printf "==> Run 'pkgfile ---update' to initialize the database\n"
+}