diff options
author | NightmareRarity | 2017-08-02 20:25:04 -0400 |
---|---|---|
committer | NightmareRarity | 2017-08-02 20:25:04 -0400 |
commit | 221d659a9cd64b660f2d7adb9159c6a40315ffad (patch) | |
tree | 980a3f059953694235b0a1764f3631dfcff40e10 | |
download | aur-221d659a9cd64b660f2d7adb9159c6a40315ffad.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | PKGBUILD | 27 |
3 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2d6165a5d4d4 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = raritynetwork-screenshot-util-git + pkgdesc = This is a command-line tool that takes a screenshot using either PNG, APNG or JPEG and uploads it to Utils.Rarity.Network + pkgver = 3.0.1.r0.g493b680 + pkgrel = 1 + url = https://gitgud.io/rarity/RarityNetwork-Screenshot-Util + arch = any + license = custom:The Unlicense + depends = maim + depends = slop + depends = curl + depends = xsel + depends = mozjpeg-opt + depends = zopflipng-git + optdepends = torsocks: upload images through Tor + optdepends = ffmpeg: upload animated screenshots + options = !strip + source = git+https://gitgud.io/rarity/raritynetwork-screenshot-util.git + sha256sums = SKIP + +pkgname = raritynetwork-screenshot-util-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..33662f5545b8 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c5a317e87f6f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: <xris_pop@yahoo.ca> +_pkgname=raritynetwork-screenshot-util +pkgname=$_pkgname-git +pkgver=3.0.1.r0.g493b680 +pkgrel=1 +pkgdesc="This is a command-line tool that takes a screenshot using either PNG, APNG or JPEG and uploads it to Utils.Rarity.Network" +arch=('any') +url="https://gitgud.io/rarity/RarityNetwork-Screenshot-Util" +license=('custom:The Unlicense') +depends=('maim' 'slop' 'curl' 'xsel' 'mozjpeg-opt' 'zopflipng-git') +optdepends=('torsocks: upload images through Tor' 'ffmpeg: upload animated screenshots') +options=('!strip') +source=("git+https://gitgud.io/rarity/$_pkgname.git") +sha256sums=('SKIP') + +pkgver() { + cd "$srcdir/$_pkgname" + git describe --long --tags | sed 's/^v//;s/-/.r/;s/-/./' +} + +package() { + cd "$srcdir/$_pkgname" + install -Dm755 screenshot "$pkgdir"/usr/bin/screenshot + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$_pkgname/LICENSE +} + +# vim:set ts=2 sw=2 et: |