summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Sun2018-09-08 20:24:09 -0400
committerAndrew Sun2018-09-08 20:24:09 -0400
commit31eb9049c1cc130ac5c536ffd774f6e2f6e66c2f (patch)
treed64f8cb2f764315e38562f7b9cf6a3e3ed532e77
parent6943570711369a8999332a79bf8e905b78d11b1a (diff)
downloadaur-31eb9049c1cc130ac5c536ffd774f6e2f6e66c2f.tar.gz
lib32-libpaper: use latest source and adopt changes from regular libpaper PKGBUILD
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD23
2 files changed, 21 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ebe1612f1a6..1fa5ebe87eb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,15 @@
-# Generated by mksrcinfo v8
-# Mon Sep 26 09:56:31 UTC 2016
pkgbase = lib32-libpaper
pkgdesc = Library for handling paper characteristics (32-bit)
pkgver = 1.1.24
- pkgrel = 1
- url = http://packages.debian.org/unstable/source/libpaper
+ pkgrel = 2
+ url = https://packages.debian.org/unstable/source/libpaper
arch = x86_64
license = GPL
+ makedepends = lib32-gcc-libs
depends = lib32-glibc
- source = http://ftp.de.debian.org/debian/pool/main/libp/libpaper/libpaper_1.1.24+nmu4.tar.gz
- md5sums = 155d2e589e2f4ef163de8fbbc5d3dd1e
+ depends = libpaper
+ source = http://ftp.de.debian.org/debian/pool/main/libp/libpaper/libpaper_1.1.24+nmu5.tar.gz
+ sha256sums = e29deda4cd7350189c71af0925cbf4a4473f9841d1419a922e1e8ff1954db1f2
pkgname = lib32-libpaper
diff --git a/PKGBUILD b/PKGBUILD
index a49c07d1efb..1428730bdd6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,4 +1,5 @@
-# Maintainer: Jakob Gahde <j5lx@fmail.co.uk>
+# Maintainer: Andrew Sun <adsun701@gmail.com>
+# Contributor: Jakob Gahde <j5lx@fmail.co.uk>
# Contributor: AndyRTR <andyrtr@archlinux.org>
# Contributor: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Mateusz Herych <heniekk@gmail.com>
@@ -7,17 +8,23 @@
_pkgname=libpaper
pkgname=lib32-${_pkgname}
pkgver=1.1.24
-pkgrel=1
+pkgrel=2
pkgdesc='Library for handling paper characteristics (32-bit)'
arch=('x86_64')
-url='http://packages.debian.org/unstable/source/libpaper'
+url='https://packages.debian.org/unstable/source/libpaper'
license=('GPL')
-depends=('lib32-glibc')
-source=("http://ftp.de.debian.org/debian/pool/main/libp/${_pkgname}/${_pkgname}_${pkgver}+nmu4.tar.gz")
-md5sums=('155d2e589e2f4ef163de8fbbc5d3dd1e')
+depends=('lib32-glibc' 'libpaper')
+makedepends=('lib32-gcc-libs')
+source=("http://ftp.de.debian.org/debian/pool/main/libp/${_pkgname}/${_pkgname}_${pkgver}+nmu5.tar.gz")
+sha256sums=('e29deda4cd7350189c71af0925cbf4a4473f9841d1419a922e1e8ff1954db1f2')
+
+prepare() {
+ cd "${srcdir}/${_pkgname}-${pkgver}+nmu5"
+ autoreconf -vfi
+}
build() {
- cd "${srcdir}/${_pkgname}-${pkgver}+nmu4"
+ cd "${srcdir}/${_pkgname}-${pkgver}+nmu5"
export CC="gcc -m32"
export CXX="g++ -m32"
@@ -31,7 +38,7 @@ build() {
}
package() {
- cd "${srcdir}/${_pkgname}-${pkgver}+nmu4"
+ cd "${srcdir}/${_pkgname}-${pkgver}+nmu5"
make DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}/usr/"{bin,include,share}