summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoroi_wtf2016-05-15 03:20:39 +0200
committeroi_wtf2016-05-15 03:20:39 +0200
commit16881f9f8db8dcec0271f0f5f078182003d9a812 (patch)
tree7f6978acb7f97dba818ed45a6453eb0ced602dc4
downloadaur-16881f9f8db8dcec0271f0f5f078182003d9a812.tar.gz
0.2.0
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD31
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d55afc062c7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+# Generated by mksrcinfo v8
+# Sun May 15 01:18:55 UTC 2016
+pkgbase = bp-nfoview
+ pkgdesc = A Simple NFO-Viewer by brainpower
+ pkgver = 0.2.0
+ pkgrel = 1
+ url = https://github.com/brainpower/bp-nfoview
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = cmake
+ makedepends = git
+ depends = qt5-base
+ source = https://github.com/brainpower/bp-nfoview/archive/v0.2.0.tar.gz
+ sha256sums = 5deae6e200443fbca2ed3859ebdb722baca1c31d0e52add78b945a8e971da0f8
+
+pkgname = bp-nfoview
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..edae77161b8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: oi_wtf <brainpower at mailbox dot org>
+
+pkgname="bp-nfoview"
+pkgver=0.2.0
+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=("https://github.com/brainpower/bp-nfoview/archive/v${pkgver}.tar.gz")
+sha256sums=('5deae6e200443fbca2ed3859ebdb722baca1c31d0e52add78b945a8e971da0f8')
+
+build(){
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ mkdir -p build/
+ cd build/
+
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+
+ make ${MAKEFLAGS}
+}
+
+package(){
+ cd "${srcdir}/${pkgname}-${pkgver}/build/"
+ make DESTDIR="${pkgdir}" install
+}