summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/pkgbuild-introspection-git/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/pcr/pkgbuild-introspection-git/PKGBUILD b/pcr/pkgbuild-introspection-git/PKGBUILD
new file mode 100644
index 000000000..8d8aded1a
--- /dev/null
+++ b/pcr/pkgbuild-introspection-git/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer (Arch): Jason St. John <jstjohn .. purdue . edu>
+
+pkgname=pkgbuild-introspection-git
+_pkgname=pkgbuild-introspection
+pkgver=2.6.gabedf43
+pkgrel=1
+pkgdesc='Tools for generating .AURINFO files and PKGBUILD data extraction (mkaurball)'
+url="https://github.com/falconindy/${_pkgname}"
+license=('MIT')
+arch=('any')
+depends=('bash' 'pacman')
+makedepends=('git')
+provides=('pkgbuild-introspection')
+conflicts=('pkgbuild-reflection-git' 'pkgbuild-introspection')
+source=("git://github.com/falconindy/${_pkgname}.git")
+sha1sums=('SKIP')
+
+pkgver() {
+ cd "$_pkgname"
+
+ git describe | sed 's/^v//;s/-/./g'
+}
+
+build() {
+ cd "$_pkgname"
+
+ make
+}
+
+package() {
+ cd "$_pkgname"
+
+ make install PREFIX=/usr DESTDIR="${pkgdir}"
+}