summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 17 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8ba19417d75..11f4ced1ce9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,36 +1,42 @@
# Contributor: Dave Reisner <d@falconindy.com>
pkgname=pkgfile-git
-pkgver=15.7.g7ace342
+pkgver=18
pkgrel=1
pkgdesc="a pacman .files metadata explorer"
-arch=('i686' 'x86_64')
+arch=('x86_64' 'i686')
url="http://github.com/falconindy/pkgfile"
license=('MIT')
depends=('libarchive' 'curl' 'pcre' 'pacman')
-makedepends=('git' 'perl')
-conflicts=('pkgfile' 'nosr')
-provides=('pkgfile' 'nosr')
-replaces=('nosr-git')
+makedepends=('git' 'perl' 'meson')
+conflicts=('pkgfile')
+provides=('pkgfile')
install=pkgfile.install
-source=("git://github.com/falconindy/pkgfile")
+source=("git+https://github.com/falconindy/pkgfile")
md5sums=('SKIP')
pkgver() {
cd pkgfile
+
git describe | sed 's/^v//;s/-/./g'
}
+prepare() {
+ cd pkgfile
+
+ meson build -D buildtype=release
+}
+
build() {
cd pkgfile
- ./autogen.sh
- ./configure
- make
+ ninja -C build
}
package() {
- make -C pkgfile DESTDIR="$pkgdir" install
+ cd pkgfile
+
+ DESTDIR="$pkgdir" ninja -C build install
}
# vim: ft=sh syn=sh et