aboutsummaryrefslogtreecommitdiffstats
path: root/community/unpaper
diff options
context:
space:
mode:
authorKevin Daudt <kdaudt@alpinelinux.org>2020-05-06 05:09:20 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2020-05-06 05:10:30 +0000
commit103b52175a8bbcc5d2a5fb49cbcd1288a7ad29aa (patch)
tree847fb9b67ad8bfc6e55a310dae61c12770059ff9 /community/unpaper
parentea42224edf7eef2580f8da0ec4966eda9a7677cd (diff)
downloadaports-103b52175a8bbcc5d2a5fb49cbcd1288a7ad29aa.tar.bz2
aports-103b52175a8bbcc5d2a5fb49cbcd1288a7ad29aa.tar.xz
community/unpaper: update source url
The project was moved from `Flameeyes/unpaper` to `unpaper/unpaper`. Update the source, as well as the checksum which has changed. Modernize the aport as well.
Diffstat (limited to 'community/unpaper')
-rw-r--r--community/unpaper/APKBUILD12
1 files changed, 4 insertions, 8 deletions
diff --git a/community/unpaper/APKBUILD b/community/unpaper/APKBUILD
index cbff73ce23..adde1ed2a8 100644
--- a/community/unpaper/APKBUILD
+++ b/community/unpaper/APKBUILD
@@ -6,16 +6,13 @@ pkgrel=1
pkgdesc="post-processing tool for scanned sheets of paper"
url="https://github.com/Flameeyes/unpaper"
arch="all"
-license="GPL"
-depends=""
+license="GPL-2.0-only"
makedepends="ffmpeg-dev automake autoconf libtool libxslt"
-install=""
subpackages="$pkgname-doc"
-source="$pkgname-$pkgver.tar.gz::https://github.com/Flameeyes/unpaper/tarball/unpaper-$pkgver"
-builddir="$srcdir/Flameeyes-unpaper-5e7fdc7"
+source="$pkgname-$pkgver.tar.gz::https://github.com/unpaper/unpaper/archive/unpaper-$pkgver.tar.gz"
+builddir="$srcdir/unpaper-unpaper-$pkgver"
build() {
- cd "$builddir"
autoreconf -vif
./configure \
--build=$CBUILD \
@@ -29,7 +26,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
@@ -37,4 +33,4 @@ check() {
"$builddir"/unpaper --help > /dev/null
}
-sha512sums="96e4f5748f836044d47a08b5c61f4367c8497d64b61e588a38b11ae99261a051c2c77e61aef85803dcd904aa8b03d78a5fa1c467bb3e632dbe9dbd68c4719557 unpaper-6.1.tar.gz"
+sha512sums="3297cbade359f0ccb056619a41e6bc5fe675448ad65c6ff7a900084c01adc099457a9cb5a4fbd2ee95047f073dc3e557038bfcbb9169c535265b90df2e34db70 unpaper-6.1.tar.gz"