summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoroi_wtf2019-01-16 23:34:22 +0100
committeroi_wtf2019-01-16 23:34:22 +0100
commit09d33b0623dbe5257d959935685b4e851941a2f2 (patch)
tree50cf72c3cdd41ac6355e2f110b3348a40a1f1896
parent979f9cc2022e240e4f54eb99b77606f05b872a09 (diff)
downloadaur-09d33b0623dbe5257d959935685b4e851941a2f2.tar.gz
upgpkg: bp-nfoview 0.2.6-1
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD26
2 files changed, 16 insertions, 20 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 13f157228a1..85d970852ea 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,16 @@
pkgbase = bp-nfoview
pkgdesc = A Simple NFO-Viewer by brainpower
- pkgver = 0.2.5
- pkgrel = 2
+ pkgver = 0.2.6
+ pkgrel = 1
url = https://github.com/brainpower/bp-nfoview
arch = i686
arch = x86_64
license = GPL
- makedepends = cmake
+ makedepends = meson
makedepends = git
depends = qt5-base
- source = bp-nfoview-0.2.5.tar.gz::https://github.com/brainpower/bp-nfoview/archive/v0.2.5.tar.gz
- sha256sums = b6f67443cafa8cccfc0fe9a172e0067b159d6ba6a4d88bc7b63f317edb702ff3
+ source = https://github.com/brainpower/bp-nfoview/archive/v0.2.6/bp-nfoview-0.2.6.tar.gz
+ sha256sums = 5a5606a7ae21f1518b2c56e957e3842b9778930d69849c5a5405ed403a214ab2
pkgname = bp-nfoview
diff --git a/PKGBUILD b/PKGBUILD
index 6359d53180f..d6a4a951c0b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,31 +1,27 @@
# Maintainer: oi_wtf <brainpower at mailbox dot org>
pkgname=bp-nfoview
-pkgver=0.2.5
-pkgrel=2
+pkgver=0.2.6
+pkgrel=1
pkgdesc="A Simple NFO-Viewer by brainpower"
arch=('i686' 'x86_64')
url="https://github.com/brainpower/bp-nfoview"
license=('GPL')
depends=('qt5-base')
-makedepends=('cmake' 'git')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/brainpower/bp-nfoview/archive/v${pkgver}.tar.gz")
-sha256sums=('b6f67443cafa8cccfc0fe9a172e0067b159d6ba6a4d88bc7b63f317edb702ff3')
+makedepends=('meson' 'git')
+source=("https://github.com/brainpower/bp-nfoview/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('5a5606a7ae21f1518b2c56e957e3842b9778930d69849c5a5405ed403a214ab2')
build(){
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}-${pkgver}"
- mkdir -p build/
- cd build/
+ arch-meson builddir
- cmake .. \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release
-
- make ${MAKEFLAGS}
+ ninja -v -C builddir
}
package(){
- cd "${srcdir}/${pkgname}-${pkgver}/build/"
- make DESTDIR="${pkgdir}" install
+ cd "${srcdir}/${pkgname}-${pkgver}/builddir"
+
+ DESTDIR="${pkgdir}" ninja install
}