summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuraj Fiala2016-08-30 22:00:03 +0200
committerJuraj Fiala2016-08-30 22:00:03 +0200
commited2acfef91efc97b6fff46b28f74c0e931a93905 (patch)
tree83f11554c1fa8fe368c9eb4bdc6536f26035a0c7
parent3db6d440273a60a864b77a0e82c116234835a3d2 (diff)
downloadaur-gimp-plugin-normalmap.tar.gz
Update URI, minor changes.
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD20
2 files changed, 17 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 86b7ede00c4..7f452e92019 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,10 @@
+# Generated by mksrcinfo v8
+# Tue Aug 30 20:00:03 UTC 2016
pkgbase = gimp-plugin-normalmap
- pkgdesc = A Gimp plugin for converting images into RGB normal maps
+ pkgdesc = A plugin for GIMP that aids in the authoring of tangent-space normal maps for use in per-pixel lighting applications.
pkgver = 1.2.3
- pkgrel = 1
- url = http://code.google.com/p/gimp-normalmap/
+ pkgrel = 2
+ url = https://code.google.com/archive/p/gimp-normalmap/
arch = i686
arch = x86_64
license = GPL
@@ -12,8 +14,8 @@ pkgbase = gimp-plugin-normalmap
conflicts = gimp-normalmap
replaces = gimp-normalmap
options = !strip
- source = http://gimp-normalmap.googlecode.com/files/gimp-normalmap-1.2.3.tar.bz2
- sha1sums = a7b07bae2c8c62892f8a8490d73e89367930f85e
+ source = https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gimp-normalmap/gimp-normalmap-1.2.3.tar.bz2
+ sha512sums = 08320f0da06b9c11f3a57e8d4fc680699c90f6d17f3becf5adc924577117521d9311694aeafc15161e799d117a6c16edf4fad3691468ee5c43553093fc008ae6
pkgname = gimp-plugin-normalmap
diff --git a/PKGBUILD b/PKGBUILD
index d289b105777..45030da89f5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,26 +2,26 @@
# Contributor: kappa <kappacurve at gmail dot com>
pkgname=gimp-plugin-normalmap
-_pkgname=gimp-normalmap
+_srcname=gimp-normalmap
pkgver=1.2.3
-pkgrel=1
-pkgdesc="A Gimp plugin for converting images into RGB normal maps"
-url="http://code.google.com/p/gimp-normalmap/"
+pkgrel=2
+pkgdesc='A plugin for GIMP that aids in the authoring of tangent-space normal maps for use in per-pixel lighting applications.'
+url="https://code.google.com/archive/p/$_srcname/"
arch=('i686' 'x86_64')
-license=("GPL")
+license=('GPL')
depends=('gimp' 'gtkglext' 'glew')
conflicts=('gimp-normalmap')
replaces=('gimp-normalmap')
-source=(http://gimp-normalmap.googlecode.com/files/${_pkgname}-${pkgver}.tar.bz2)
-sha1sums=('a7b07bae2c8c62892f8a8490d73e89367930f85e')
+source=("https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$_srcname/$_srcname-$pkgver.tar.bz2")
+sha512sums=('08320f0da06b9c11f3a57e8d4fc680699c90f6d17f3becf5adc924577117521d9311694aeafc15161e799d117a6c16edf4fad3691468ee5c43553093fc008ae6')
options=(!strip)
build() {
- cd "${srcdir}/${_pkgname}-${pkgver}"
+ cd "$srcdir/$_srcname-$pkgver"
make LDFLAGS=-lm
}
package() {
- cd "${srcdir}/${_pkgname}-${pkgver}"
- install -D -m 755 ./normalmap ${pkgdir}/usr/lib/gimp/2.0/plug-ins/normalmap
+ cd "$srcdir/$_srcname-$pkgver"
+ install -D -m 755 ./normalmap $pkgdir/usr/lib/gimp/2.0/plug-ins/normalmap
}