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
+ 5
1
Compare changes
  • Side-by-side
  • Inline
+ 5
1
@@ -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() {
@@ -34,6 +33,11 @@ gawk() {
mv $pkgdir/usr/lib/gawk $subpkgdir/usr/lib/
}
check() {
[ $(pn find -c "" "+330611234345") = "+33611234345" ] || return 1
return 0
}
package() {
DESTDIR="$pkgdir" cmake --build build --target install
mkdir $pkgdir/usr/share
Loading