diff options
author | Philipp Wolfer | 2017-11-03 18:02:15 +0100 |
---|---|---|
committer | Philipp Wolfer | 2017-11-03 18:02:15 +0100 |
commit | 16d22fef3f5094b8aadbe5eb12699d5b761cd8c3 (patch) | |
tree | 59333c9b87d425829bb49736da7831cdc046a3c0 | |
download | aur-16d22fef3f5094b8aadbe5eb12699d5b761cd8c3.tar.gz |
Initial release 0.1.0
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | .gitignore | 12 | ||||
-rw-r--r-- | PKGBUILD | 21 |
3 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b98d12c685ad --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +# Generated by mksrcinfo v8 +# Fri Nov 3 17:02:14 UTC 2017 +pkgbase = gifski + pkgdesc = GIF encoder based on libimagequant (pngquant, gifquant?). Squeezes maximum possible quality from the awful GIF format + pkgver = 0.1.0 + pkgrel = 1 + url = https://github.com/phw/peek + arch = i686 + arch = x86_64 + license = AGPL3 + makedepends = rust + source = gifski-0.1.0::https://github.com/ImageOptim/gifski/archive/0.1.0.tar.gz + sha256sums = ed51954e3632769598b55443b3dced10a9128421538387cf6b9d50f823aa7a77 + +pkgname = gifski + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..cdaf61f4f21a --- /dev/null +++ b/.gitignore @@ -0,0 +1,12 @@ +src/* +pkg/* +peek/* +*.tgz +*.tar.bz2 +*.tar.gz +*.tar.xz +*.zip +*.gem +*.air +*.part +*~ diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f1c70f4e0d71 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: Philipp Wolfer <ph.wolfer@gmail.com> +pkgname=gifski +pkgver=0.1.0 +pkgrel=1 +pkgdesc="GIF encoder based on libimagequant (pngquant, gifquant?). Squeezes maximum possible quality from the awful GIF format" +arch=('i686' 'x86_64') +url="https://github.com/phw/peek" +license=('AGPL3') +makedepends=(rust) +source=(${pkgname}-${pkgver}::https://github.com/ImageOptim/${pkgname}/archive/${pkgver}.tar.gz) +sha256sums=('ed51954e3632769598b55443b3dced10a9128421538387cf6b9d50f823aa7a77') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + cargo build --release +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + install -Dm755 target/release/gifski "$pkgdir/usr/bin/gifski" +} |