diff options
-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 +} |