Commit 322938bb authored by Fabian Affolter's avatar Fabian Affolter Committed by Natanael Copa

main/apg: specify license and update layout

parent a792b0d4
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=apg
pkgver=2.2.3
pkgrel=2
pkgrel=3
pkgdesc="Automated Password Generator."
url="http://www.adel.nursat.kz/apg/index.shtml"
arch="all"
license="custom"
subpackages="$pkgname-doc"
depends=
license="BSD"
depends=""
makedepends=""
subpackages="$pkgname-doc"
source="http://www.adel.nursat.kz/apg/download/$pkgname-$pkgver.tar.gz"
build ()
{
cd "$srcdir"/$pkgname-$pkgver
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
sed -i 's:^#\(CS_LIBS = -lnsl\)$:\1:' Makefile
make || return 1
}
package() {
cd "$_builddir"
for i in apg apgbfm; do
install -D -m755 $i "$pkgdir"/usr/bin/$i
install -D -m644 doc/man/$i.1 "$pkgdir"/usr/man/man1/$i.1
done
install -D -m 644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
md5sums="3b3fc4f11e90635519fe627c1137c9ac apg-2.2.3.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