summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 51e5cf414031e95647f4f75fbcc5f330aa16213a (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
# Maintainer: Jan Sonntag <jaso35 at gmail dot com>
# Contributor: Dmytro Korzhevin <dkorzhevin@gmail.com>
# Contributor: Sigmund Vestergaard <sigmundv at gmail dot com>
# Contributor: G_Syme <demichan(at)mail(dot)upb(dot)de>

pkgname=openstego
pkgver=0.8.6
pkgrel=1
pkgdesc="Steganography application that provides data hiding and watermarking functionality"
arch=('any')
url="https://www.openstego.com"
license=('GPL2')
depends=('bash' 'java-runtime')
makedepends=('unzip')
source=("https://github.com/syvaidya/openstego/releases/download/${pkgname}-${pkgver}/${pkgname}-${pkgver}.zip"
        "openstego.desktop"
        "openstego.svg")
sha256sums=('402ba4190d329564996a1250b9096f0402452042469f517545c312527cedc41f'
            '0749d41ac197897b2604c6617a012194f5efa793aed036c1a797412038ccebcf'
            '2e8eb54202cf0fe8130c9b284ba26ae196746cf299872efc401257c487101956')

package() {
  cd ${srcdir}/${pkgname}-${pkgver}

  install -D -m644 lib/openstego.jar ${pkgdir}/usr/share/java/${pkgname}/lib/openstego.jar
  install -D -m755 openstego.sh ${pkgdir}/usr/share/java/${pkgname}/openstego.sh
  install -D -m644 README ${pkgdir}/usr/share/doc/$pkgname/README

  mkdir -p ${pkgdir}/usr/bin
  ln -s /usr/share/java/${pkgname}/openstego.sh ${pkgdir}/usr/bin/openstego

  install -D -m644 ${srcdir}/openstego.desktop ${pkgdir}/usr/share/applications/openstego.desktop
  install -D -m644 ${srcdir}/openstego.svg ${pkgdir}/usr/share/pixmaps/openstego.svg
}