summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaawda2020-09-03 11:11:44 +0200
committerhaawda2020-09-03 11:11:44 +0200
commita9f2d90c0d6aa5b4fe6f7ed47dd726ee007ef0f9 (patch)
treec812eb7c35be6de16d5cf203c0dcaa89a577c7bd
parentad2fde552e1f0a12afc7b2562a0aea4cec8bdfc0 (diff)
downloadaur-a9f2d90c0d6aa5b4fe6f7ed47dd726ee007ef0f9.tar.gz
adopted, tidyed up
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD54
2 files changed, 27 insertions, 36 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ab8b45d2740..68345c15495 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,19 @@
pkgbase = png_sec
pkgdesc = tool to encrypt text and hide it in .png file
pkgver = 0.1.1.8
- pkgrel = 2
- arch = any
+ pkgrel = 3
+ url = https://github.com/DOGINFOG/png_sec
+ arch = x86_64
license = GPL
makedepends = cmake
makedepends = make
makedepends = git
depends = libgcrypt
depends = libpng
- replaces = png_sec-git
+ provides = png_sec-git
+ conflicts = png_sec-git
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
diff --git a/PKGBUILD b/PKGBUILD
index 31be3731ca3..749e26c4e97 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,51 +1,41 @@
-# Maintainer: tvoor <ftdabcde@gmail.com>
+# Contributor: tvoor <ftdabcde@gmail.com>
+# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
+
pkgname=png_sec
pkgver=0.1.1.8
-pkgrel=2
-epoch=
+pkgrel=3
pkgdesc="tool to encrypt text and hide it in .png file"
-arch=('any')
-url=""
+arch=('x86_64')
+url="https://github.com/DOGINFOG/png_sec"
license=('GPL')
-groups=()
depends=('libgcrypt' 'libpng')
makedepends=('cmake' 'make' 'git')
-checkdepends=()
-optdepends=()
-provides=()
-conflicts=()
-replaces=('png_sec-git')
-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=()
+provides=('png_sec-git')
+conflicts=('png_sec-git')
+source=("$pkgname::git+$url.git#tag=v$pkgver"
+ "git+https://github.com/DOGINFOG/cmake_scripts.git")
md5sums=('SKIP' 'SKIP')
-validpgpkeys=('C5C2DEE155D3872B8BA531226EEC3334E3C22821')
prepare() {
- cd "$pkgname"
- git submodule init
- git config submodule.cmake.url $srcdir/cmake_scripts
- git submodule update
- cmake -Bbuild
+ cd "$pkgname"
+ git submodule init
+ git config submodule.cmake.url "$srcdir"/cmake_scripts
+ git submodule update
+ chmod u+x "$srcdir"/$pkgname/cmake/sha256parse.sh
}
build() {
- cd "$pkgname"
- make -Cbuild
+ cd "$pkgname"
+ cmake -Bbuild
+ make -Cbuild
}
check() {
- cd "$pkgname"
- make -Cbuild test
+ cd "$pkgname"
+ make -Cbuild test
}
package() {
- cd "$pkgname"
- make -Cbuild DESTDIR=$pkgdir install
+ cd "$pkgname"
+ make -Cbuild DESTDIR="$pkgdir" install
}