summaryrefslogtreecommitdiff
path: root/pcr/pkgbuild-introspection-git/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-03 15:59:55 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-03 15:59:55 -0300
commitd4393a89bc738a9982ddb1f6e844a9bd6821272c (patch)
tree90a49c5ec4d57decbaa57c34fe6f7389a6eb3838 /pcr/pkgbuild-introspection-git/PKGBUILD
parentea6e882959234466a72ec820c51d2f807edccb4e (diff)
pkgbuild-introspection-git: add new package to [pcr]
Diffstat (limited to 'pcr/pkgbuild-introspection-git/PKGBUILD')
-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}"
+}