diff options
author | MithicSpirit | 2021-10-17 19:50:55 -0400 |
---|---|---|
committer | MithicSpirit | 2021-10-17 19:50:55 -0400 |
commit | a03d994a9c4d9824daad8b4936efb65b8e184164 (patch) | |
tree | 3dbd19604a29b1be524151cd0b1dbaceac5ef339 | |
parent | 77efe954e6785c9a2c74fbd0faa66c6d4cdf5b15 (diff) | |
download | aur-gtk-vector-screenshot.tar.gz |
v0.3.3
Changelog:
Drop the noop gtk2 module
used to quench a warning about missing gtk module, set GTK3_MODULES instead.
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | .gitignore | 8 | ||||
-rw-r--r-- | PKGBUILD | 22 |
3 files changed, 19 insertions, 24 deletions
@@ -1,19 +1,14 @@ -# Generated by mksrcinfo v8 -# Sun May 15 12:52:24 UTC 2016 pkgbase = gtk-vector-screenshot pkgdesc = A GTK module for taking vector graphic screenshots (PDF, SVG and PostScript) - pkgver = 0.3.2.1.2 - pkgrel = 2 + pkgver = 0.3.3 + pkgrel = 1 url = https://github.com/nomeata/gtk-vector-screenshot arch = i686 arch = x86_64 license = LGPL2.1 - makedepends = git - depends = gtk2 depends = gtk3 depends = xorg-server - source = git+https://github.com/nomeata/gtk-vector-screenshot#commit=4d5addb - sha512sums = SKIP + source = gtk-vector-screenshot-0.3.3::https://github.com/nomeata/gtk-vector-screenshot/archive/refs/tags/0.3.3.tar.gz + sha256sums = 08aeba6e293c8d8fb62173e84cd4ff1b5a0edd89eec97cc839b15a1c8deab260 pkgname = gtk-vector-screenshot - diff --git a/.gitignore b/.gitignore index 27d4ecdbebbd..018a3de08144 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -pkg/ -src/ -gtk-vector-screenshot/ -*.tar.xz +* +!PKGBUILD +!.SRCINFO +!.gitignore @@ -1,30 +1,30 @@ -# Maintainer: Your Name <max at maxbruckner dot de> +# Maintainer: MithicSpirit <rpc01234 at gmail dot com> +# Contributor: Your Name <max at maxbruckner dot de> pkgname=gtk-vector-screenshot -pkgver=0.3.2.1.2 -pkgrel=2 -epoch= +pkgver=0.3.3 +_filename="$pkgname-$pkgver" +pkgrel=1 pkgdesc="A GTK module for taking vector graphic screenshots (PDF, SVG and PostScript)" arch=("i686" "x86_64") url="https://github.com/nomeata/gtk-vector-screenshot" license=('LGPL2.1') -depends=("gtk2" "gtk3" "xorg-server") -makedepends=("git") -source=("git+https://github.com/nomeata/gtk-vector-screenshot#commit=4d5addb") -sha512sums=('SKIP') +depends=("gtk3" "xorg-server") +source=("$_filename::https://github.com/nomeata/$pkgname/archive/refs/tags/$pkgver.tar.gz") +sha256sums=('08aeba6e293c8d8fb62173e84cd4ff1b5a0edd89eec97cc839b15a1c8deab260') prepare() { - cd "$pkgname" + cd "$_filename" autoreconf -vif } build() { - cd "$pkgname" + cd "$_filename" ./configure --prefix=/usr make } package() { - cd "$pkgname" + cd "$_filename" make DESTDIR="$pkgdir/" install install -D 52load-gtk-vector-screenshot-gtk-module "$pkgdir/etc/X11/xinit/xinitrc.d/52load-gtk-vector-screenshot-gtk-module" } |