diff options
author | Yigit Sever | 2022-08-09 14:19:54 +0300 |
---|---|---|
committer | Yigit Sever | 2022-08-09 14:19:54 +0300 |
commit | 267a8bcfe86f4f58f6f742b6981d94e1ed7d8bd2 (patch) | |
tree | f2f73a10e16c231bacf02f1f95e47d765e902e59 /zsteg | |
parent | 704307ddfe797648dbe102786c42674323daab77 (diff) | |
download | packages-267a8bcfe86f4f58f6f742b6981d94e1ed7d8bd2.tar.gz packages-267a8bcfe86f4f58f6f742b6981d94e1ed7d8bd2.tar.bz2 packages-267a8bcfe86f4f58f6f742b6981d94e1ed7d8bd2.zip |
zsteg: Adopted
Diffstat (limited to 'zsteg')
-rw-r--r-- | zsteg/.SRCINFO | 17 | ||||
-rw-r--r-- | zsteg/PKGBUILD | 22 |
2 files changed, 39 insertions, 0 deletions
diff --git a/zsteg/.SRCINFO b/zsteg/.SRCINFO new file mode 100644 index 0000000..6cca372 --- /dev/null +++ b/zsteg/.SRCINFO | |||
@@ -0,0 +1,17 @@ | |||
1 | pkgbase = zsteg | ||
2 | pkgdesc = detect stegano-hidden data in PNG & BMP | ||
3 | pkgver = 0.2.2 | ||
4 | pkgrel = 1 | ||
5 | url = https://github.com/zed-0xff/zsteg | ||
6 | arch = any | ||
7 | license = MIT | ||
8 | depends = ruby | ||
9 | depends = ruby-zpng | ||
10 | depends = ruby-iostruct | ||
11 | noextract = zsteg-0.2.2.gem | ||
12 | options = !emptydirs | ||
13 | source = https://rubygems.org/downloads/zsteg-0.2.2.gem | ||
14 | sha256sums = f3f6bbaf46e5c9f0598aa8b8f457dad890873e4c4e382f6c22e408fd34958ad7 | ||
15 | |||
16 | pkgname = zsteg | ||
17 | |||
diff --git a/zsteg/PKGBUILD b/zsteg/PKGBUILD new file mode 100644 index 0000000..1a49d80 --- /dev/null +++ b/zsteg/PKGBUILD | |||
@@ -0,0 +1,22 @@ | |||
1 | # Maintainer: gryffyn <aur at evan dot me> | ||
2 | |||
3 | _gemname=zsteg | ||
4 | pkgname=$_gemname | ||
5 | pkgver=0.2.2 | ||
6 | pkgrel=1 | ||
7 | pkgdesc="detect stegano-hidden data in PNG & BMP" | ||
8 | arch=(any) | ||
9 | url='https://github.com/zed-0xff/zsteg' | ||
10 | license=(MIT) | ||
11 | depends=('ruby' 'ruby-zpng' 'ruby-iostruct') | ||
12 | options=(!emptydirs) | ||
13 | source=("https://rubygems.org/downloads/$_gemname-$pkgver.gem") | ||
14 | noextract=($_gemname-$pkgver.gem) | ||
15 | sha256sums=('f3f6bbaf46e5c9f0598aa8b8f457dad890873e4c4e382f6c22e408fd34958ad7') | ||
16 | |||
17 | package() { | ||
18 | local _gemdir="$(ruby -rrubygems -e'puts Gem.default_dir')" | ||
19 | install -d -m 755 ${pkgdir}/usr/bin | ||
20 | gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" "$_gemname-$pkgver.gem" | ||
21 | rm "${pkgdir}/${_gemdir}/cache/${_gemname}-${pkgver}.gem" | ||
22 | } | ||