summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a0bab92bfaf84c6765c7e496bd14a76d12c71637 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Maintainer: tvoor <ftdabcde@gmail.com>
pkgname=png_sec-git
pkgver=0.1.1.9.a3b32c6
pkgrel=1
epoch=
pkgdesc="tool to encrypt text and hide it in .png file"
arch=('any')
url=""
license=('GPL')
groups=()
depends=('libgcrypt' 'libpng')
makedepends=('cmake' 'make' 'git')
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=('png_sec')
backup=()
options=()
install=
changelog=
source=(
	"$pkgname::git+https://github.com/DOGINFOG/png_sec.git"
	"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
}