diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-11-29 17:29:37 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2015-06-01 16:03:45 +0200 |
commit | 7bb1fa18215ebb078301ad8b836fa0c08ec7e1a0 (patch) | |
tree | 146faae13870a8d990cb837aea122aa3d1c45502 | |
download | pkgbuilds-7bb1fa18215ebb078301ad8b836fa0c08ec7e1a0.tar.xz |
pkgfile-git: Initial import
-rw-r--r-- | .SRCINFO | 24 | ||||
-rw-r--r-- | PKGBUILD | 37 |
2 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..6585a33 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,24 @@ +# Generated by makepkg 4.2.1 +# Mon Jun 1 14:57:11 UTC 2015 +pkgbase = pkgfile-git + pkgdesc = a pacman .files metadata explorer + pkgver = 15.2.g387bba4 + pkgrel = 1 + url = http://github.com/falconindy/pkgfile + install = pkgfile.install + arch = i686 + arch = x86_64 + license = MIT + makedepends = git + makedepends = perl + depends = libarchive + depends = curl + depends = pcre + depends = pacman + provides = pkgfile + conflicts = pkgfile + source = git://github.com/falconindy/pkgfile + md5sums = SKIP + +pkgname = pkgfile-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..6ff51c2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +pkgname=pkgfile-git +pkgver=15.2.g387bba4 +pkgrel=1 + +pkgdesc="a pacman .files metadata explorer" +url="http://github.com/falconindy/pkgfile" +arch=('i686' 'x86_64') +license=('MIT') + +depends=('libarchive' 'curl' 'pcre' 'pacman') +makedepends=('git' 'perl') + +conflicts=('pkgfile') +provides=('pkgfile') + +install=pkgfile.install + +source=("git://github.com/falconindy/pkgfile") + +md5sums=('SKIP') + +pkgver() { + cd pkgfile + git describe | sed 's/^v//;s/-/./g' +} + +build() { + cd pkgfile + + ./autogen.sh + ./configure + make +} + +package() { + make -C pkgfile DESTDIR="$pkgdir" install +} |