summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDOGINFOG2019-05-10 18:15:59 +0700
committerDOGINFOG2019-05-10 18:18:48 +0700
commitdc66689f567d2a8defb6e3265b5d30f6c11ed991 (patch)
tree58bca3325c3cf1687efa0ad8b2ff187e4474c606
downloadaur-dc66689f567d2a8defb6e3265b5d30f6c11ed991.tar.gz
Init
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD51
2 files changed, 69 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2ee4872828f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = png_sec
+ pkgver = 0.1.1.8
+ pkgrel = 1
+ arch = any
+ license = GPL
+ makedepends = cmake
+ makedepends = make
+ makedepends = git
+ depends = libgcrypt
+ depends = libpng
+ source = png_sec::git+https://github.com/DOGINFOG/png_sec.git#tag=v0.1.1.8
+ source = git+https://github.com/DOGINFOG/cmake_scripts.git
+ validpgpkeys = C5C2DEE155D3872B8BA531226EEC3334E3C22821
+ md5sums = SKIP
+ md5sums = SKIP
+
+pkgname = png_sec
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..01802d822ef
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,51 @@
+# Maintainer: tvoor <ftdabcde@gmail.com>
+pkgname=png_sec
+pkgver=0.1.1.8
+pkgrel=1
+epoch=
+pkgdesc=""
+arch=('any')
+url=""
+license=('GPL')
+groups=()
+depends=('libgcrypt' 'libpng')
+makedepends=('cmake' 'make' 'git')
+checkdepends=()
+optdepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=()
+install=
+changelog=
+source=(
+ "$pkgname::git+https://github.com/DOGINFOG/png_sec.git#tag=v$pkgver"
+ "git+https://github.com/DOGINFOG/cmake_scripts.git"
+)
+noextract=()
+md5sums=('SKIP' 'SKIP')
+validpgpkeys=('C5C2DEE155D3872B8BA531226EEC3334E3C22821')
+
+prepare() {
+ cd "$pkgname"
+ git submodule init
+ git config submodule.cmake.url $srcdir/cmake_scripts
+ git submodule update
+ cmake -Bbuild
+}
+
+build() {
+ cd "$pkgname"
+ make -Cbuild
+}
+
+check() {
+ cd "$pkgname"
+ make -Cbuild test
+}
+
+package() {
+ cd "$pkgname"
+ make -Cbuild DESTDIR=$pkgdir install
+}