Commit d294f872 authored by Leo's avatar Leo Committed by Francesco Colista

main/apg: modernize, "fix" url, fix license

parent bdc861e4
# Maintainer: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=apg pkgname=apg
pkgver=2.2.3 pkgver=2.2.3
pkgrel=4 pkgrel=5
pkgdesc="Automated Password Generator." pkgdesc="Automated Password Generator."
url="http://www.adel.nursat.kz/apg/index.shtml" url="https://linux.die.net/man/1/apg" # Original homepage is dead
arch="all" arch="all"
license="BSD" license="BSD-3-Clause"
# no check provided by upstream # no check provided by upstream
options="!check" options="!check"
subpackages="$pkgname-doc"
source="https://launchpad.net/ubuntu/+archive/primary/+files/${pkgname}_${pkgver}.orig.tar.gz" source="https://launchpad.net/ubuntu/+archive/primary/+files/${pkgname}_${pkgver}.orig.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
prepare() {
default_prepare
}
build() { build() {
cd "$builddir" cd "$builddir"
...@@ -28,7 +22,6 @@ package() { ...@@ -28,7 +22,6 @@ package() {
install -D -m755 $i "$pkgdir"/usr/bin/$i install -D -m755 $i "$pkgdir"/usr/bin/$i
install -D -m644 doc/man/$i.1 "$pkgdir"/usr/man/man1/$i.1 install -D -m644 doc/man/$i.1 "$pkgdir"/usr/man/man1/$i.1
done done
install -D -m 644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
} }
sha512sums="d2479dc2cb5d571ddea23d98e9d4ddbdfff874013ff27c00073a3231c4c1d0ee9b75d3983331f3513755b57527766cc5a35e6829cdca15d2e9293dfbc4c2788a apg_2.2.3.orig.tar.gz" sha512sums="d2479dc2cb5d571ddea23d98e9d4ddbdfff874013ff27c00073a3231c4c1d0ee9b75d3983331f3513755b57527766cc5a35e6829cdca15d2e9293dfbc4c2788a apg_2.2.3.orig.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment