Skip to content
Snippets Groups Projects

testing/pn: new aport

Merged Frank J. Cameron requested to merge fjc/aports:testing/pn into master
1 file
+ 8
4
Compare changes
  • Side-by-side
  • Inline
+ 8
4
@@ -11,7 +11,6 @@ source="$pkgname-$_commit.tar.gz::$url/archive/$_commit.tar.gz"
license="Apache-2.0"
makedepends="cmake icu-dev libphonenumber-dev gawk"
builddir="$srcdir/$pkgname-$_commit"
options="!check"
subpackages="$pkgname-doc $pkgname-gawk"
build() {
@@ -29,9 +28,9 @@ build() {
cmake --build build
}
gawk() {
mkdir -p $subpkgdir/usr/lib
mv $pkgdir/usr/lib/gawk $subpkgdir/usr/lib/
check() {
cd $builddir/build
[ "$(./pn find -c "" "+330611234345")" = "+33611234345" ]
}
package() {
@@ -40,6 +39,11 @@ package() {
mv $pkgdir/usr/man $pkgdir/usr/share/
}
gawk() {
mkdir -p $subpkgdir/usr/lib
mv $pkgdir/usr/lib/gawk $subpkgdir/usr/lib/
}
sha512sums="
5910b22743181d9ff4ecf5e1947d1e175dd2d2667972d682a8e55631b5a0aa33f63d782aeeca5da4ef1528cfbe7cf5406d762c4e631ba041e82f4ce950782a5c pn-41e1215397129ed0d42b5f137fb35b5e0648edda.tar.gz
"
Loading