aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2020-06-29 20:44:16 +0300
committerLeo <thinkabit.ukim@gmail.com>2020-06-29 20:40:45 +0000
commit03b6efff108f4e4fd0c0a8025cdc62dfd8edadb5 (patch)
treed35a36ba7ce89e71b505ed24767c5940adc8387d
parent1ff78810d68f3f8f311b9352d90c381eaa77fa1a (diff)
downloadaports-03b6efff108f4e4fd0c0a8025cdc62dfd8edadb5.tar.gz
aports-03b6efff108f4e4fd0c0a8025cdc62dfd8edadb5.tar.bz2
aports-03b6efff108f4e4fd0c0a8025cdc62dfd8edadb5.tar.xz
community/xpdf: modernize
* Use https and clarify license.
-rw-r--r--community/xpdf/APKBUILD10
1 files changed, 3 insertions, 7 deletions
diff --git a/community/xpdf/APKBUILD b/community/xpdf/APKBUILD
index 844d51efc0..b28a2114b7 100644
--- a/community/xpdf/APKBUILD
+++ b/community/xpdf/APKBUILD
@@ -4,20 +4,17 @@ pkgname=xpdf
pkgver="3.04"
pkgrel=4
pkgdesc="The classic X11 PDF viewer"
-url="http://www.xpdfreader.com"
+url="https://www.xpdfreader.com"
arch="all"
-license="GPL-2.0 GPL-3.0"
+license="GPL-2.0-or-later OR GPL-3.0-or-later"
depends="ghostscript-fonts"
makedepends="motif-dev freetype-dev libpng-dev"
subpackages="$pkgname-doc"
-source="https://xpdfreader-dl.s3.amazonaws.com/old/$pkgname-$pkgver.tar.gz
+source="https://xpdfreader-dl.s3.amazonaws.com/old/xpdf-$pkgver.tar.gz
xpdf-3.04-protection.patch
xpdfrc"
-builddir="$srcdir/$pkgname-$pkgver"
-
build() {
- cd "$builddir"
./configure \
--with-x \
--with-freetype2-includes=/usr/include/freetype2 \
@@ -32,7 +29,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
#delete pdf* utils that conflict with poppler-utils.
rm -f "$pkgdir"/usr/bin/pdf*