diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-08-03 15:59:55 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-08-03 15:59:55 -0300 |
commit | d4393a89bc738a9982ddb1f6e844a9bd6821272c (patch) | |
tree | 90a49c5ec4d57decbaa57c34fe6f7389a6eb3838 | |
parent | ea6e882959234466a72ec820c51d2f807edccb4e (diff) | |
download | abslibre-d4393a89bc738a9982ddb1f6e844a9bd6821272c.tar.gz abslibre-d4393a89bc738a9982ddb1f6e844a9bd6821272c.tar.bz2 abslibre-d4393a89bc738a9982ddb1f6e844a9bd6821272c.zip |
pkgbuild-introspection-git: add new package to [pcr]
-rw-r--r-- | pcr/pkgbuild-introspection-git/PKGBUILD | 34 |
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}" +} |