summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 96a4082e7311f532f6b02f0c0b807d666bcc8db3 (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
# Maintainer :  Kr1ss  $(tr +- .@ <<<'<kr1ss+x-yandex+com>')
# Contributor : ans <oscarlatorre(at)pm(dot)me>


pkgname=stegsnow-git
_name="${pkgname%-git}"

pkgver() { git -C "$_name" log -n1 --format=%cs.g%h | tr - .; }
pkgver=2020.04.07.g69c5029
pkgrel=1

pkgdesc='Conceal messages in ASCII text by appending whitespace to the end of lines'
url="http://www.darkside.com.au/${_name#steg}"
arch=('x86_64')
license=('Apache')

makedepends=('git')
depends=('glibc')

changelog=ChangeLog
source=("git+https://salsa.debian.org/pkg-security-team/$_name.git" "$_name.patch")
sha256sums=('SKIP' 'd27d97a950a99f649b705d03ef334fa33bfb76280cb6fcf21a73ad4c0fdcaafc')


prepare() {
  cd "$_name"
  patch -Np1 -i "../$_name.patch"
}

build() {
  cd "$_name"
  make
}

package() {
  cd "$_name"
  install -Dm755 "$_name"   -t"$pkgdir/usr/bin/"
  install -Dm644 "$_name.1" -t"$pkgdir/usr/share/man/man1/"
}


# vim: ts=2 sw=2 et ft=PKGBUILD: