diff options
author | Daniel Bermond | 2018-04-29 15:18:46 +0000 |
---|---|---|
committer | Daniel Bermond | 2018-04-29 15:36:19 +0000 |
commit | 47d3aa9a628dc85784dd03e3c69a9d02164e0ce1 (patch) | |
tree | b6d40ce5daa392fd9bdc7e80911251bca4af404d | |
parent | 4941e482c46f9f0f915b70e8268036c9aac4259d (diff) | |
download | aur-47d3aa9a628dc85784dd03e3c69a9d02164e0ce1.tar.gz |
Fix license. Cosmetic changes.
The license statements in the source files contains the
'any later version' statement, meaning that it's not restricted
to GPL2 and LGPL2.1, but it can be modified and/or redistributed
under later license versions like GPL3 and LGPL3.
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r--[-rwxr-xr-x] | PKGBUILD | 56 |
2 files changed, 33 insertions, 31 deletions
@@ -1,14 +1,12 @@ -# Generated by mksrcinfo v8 -# Sat Apr 8 14:53:35 UTC 2017 pkgbase = autotrace-nomagick pkgdesc = A program for converting bitmap to vector graphics (no ImageMagick dependency) pkgver = 0.31.1 - pkgrel = 5 + pkgrel = 6 url = http://autotrace.sourceforge.net/ arch = i686 arch = x86_64 - license = GPL2 - license = LGPL2.1 + license = GPL + license = LGPL depends = ming depends = pstoedit-nomagick provides = autotrace diff --git a/PKGBUILD b/PKGBUILD index 7c2deeaf1322..6f8c5e682c6a 100755..100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,25 +2,24 @@ # AutoTrace compiled without ImageMagick dependency -_srcname="autotrace" +_srcname=autotrace pkgname=autotrace-nomagick pkgver=0.31.1 -pkgrel=5 -pkgdesc="A program for converting bitmap to vector graphics (no ImageMagick dependency)" +pkgrel=6 +pkgdesc='A program for converting bitmap to vector graphics (no ImageMagick dependency)' arch=('i686' 'x86_64') -url="http://autotrace.sourceforge.net/" -license=('GPL2' 'LGPL2.1') +url='http://autotrace.sourceforge.net/' +license=('GPL' 'LGPL') depends=('ming' 'pstoedit-nomagick') provides=('autotrace' 'libautotrace.so') conflicts=('autotrace') source=("http://sourceforge.net/projects/autotrace/files/AutoTrace/${pkgver}/${_srcname}-${pkgver}.tar.gz" - "autotrace-0.31.1-CVE-2013-1953.patch" - "autotrace-0.31.1-CVE-2016-7392.patch" - "autotrace-0.31.1-libpng-1.5.patch" - "autotrace-0.31.1-pstoedit-detection-fix.patch" - "autotrace-0.31.1-swf-output.patch" - "autotrace-0002-Fixed-underquoted-AM_PATH_AUTOTRACE-definition.patch" -) + 'autotrace-0.31.1-CVE-2013-1953.patch' + 'autotrace-0.31.1-CVE-2016-7392.patch' + 'autotrace-0.31.1-libpng-1.5.patch' + 'autotrace-0.31.1-pstoedit-detection-fix.patch' + 'autotrace-0.31.1-swf-output.patch' + 'autotrace-0002-Fixed-underquoted-AM_PATH_AUTOTRACE-definition.patch') sha256sums=('5a1a923c3335dfd7cbcccb2bbd4cc3d68cafe7713686a2f46a1591ed8a92aff6' 'abf827ece23ace1074ca9408e52b0e9d3a3c24a25bc35ebdf25f46edad29a961' '2b997a9647250c3e1be2cd03d0bb4d8ac7b2788ca9af7bc901e40d187848c254' @@ -30,29 +29,34 @@ sha256sums=('5a1a923c3335dfd7cbcccb2bbd4cc3d68cafe7713686a2f46a1591ed8a92aff6' '666193c7b9d8d085de6c774d90262f9df2f5f2f75a4acdc7ae2167b4fc179bad') prepare() { - cd "$_srcname"-"$pkgver" - patch -Np1 -i ../autotrace-0.31.1-CVE-2013-1953.patch - patch -Np1 -i ../autotrace-0.31.1-CVE-2016-7392.patch - patch -Np0 -i ../autotrace-0.31.1-libpng-1.5.patch - patch -Np1 -i ../autotrace-0.31.1-pstoedit-detection-fix.patch - patch -Np0 -i ../autotrace-0.31.1-swf-output.patch - patch -Np1 -i ../autotrace-0002-Fixed-underquoted-AM_PATH_AUTOTRACE-definition.patch + cd "${_srcname}-${pkgver}" + + patch -Np1 -i "${srcdir}/autotrace-0.31.1-CVE-2013-1953.patch" + patch -Np1 -i "${srcdir}/autotrace-0.31.1-CVE-2016-7392.patch" + patch -Np0 -i "${srcdir}/autotrace-0.31.1-libpng-1.5.patch" + patch -Np1 -i "${srcdir}/autotrace-0.31.1-pstoedit-detection-fix.patch" + patch -Np0 -i "${srcdir}/autotrace-0.31.1-swf-output.patch" + patch -Np1 -i "${srcdir}/autotrace-0002-Fixed-underquoted-AM_PATH_AUTOTRACE-definition.patch" } build() { - cd "$_srcname"-"$pkgver" + cd "${_srcname}-${pkgver}" + autoreconf -fis + ./configure \ - --prefix=/usr \ - --mandir=/usr/share \ - --enable-static=no \ - --enable-shared=yes \ + --prefix='/usr' \ + --mandir='/usr/share' \ + --enable-static='no' \ + --enable-shared='yes' \ --without-magick \ --with-pstoedit + make } package() { - cd "$_srcname"-"$pkgver" - make DESTDIR="$pkgdir/" install + cd "${_srcname}-${pkgver}" + + make DESTDIR="$pkgdir" install } |