aports/testing/sqawk/APKBUILD
Celeste 40ea6c48d7 */*: add maintainer variable for aports i maintain
leaving the Maintainer comment there for better visual cues, syntax highlighting, and easy conversion to a Contributor comment

since Contributor comments are not being removed, just treat my Maintainer comments like Contributor ones, as a normal comment
2024-10-16 16:20:45 +00:00

37 lines
991 B
Text

# Maintainer: Celeste <cielesti@protonmail.com>
maintainer="Celeste <cielesti@protonmail.com>"
pkgname=sqawk
pkgver=0.24.0
pkgrel=0
pkgdesc="AWK-like program with SQL and table joins"
url="https://github.com/dbohdan/sqawk"
arch="noarch"
license="MIT"
depends="tcl tcl-lib sqlite-tcl"
checkdepends="jimtcl sqlite"
subpackages="$pkgname-doc"
source="https://github.com/dbohdan/sqawk/archive/refs/tags/v$pkgver/sqawk-$pkgver.tar.gz"
build() {
make
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" prefix=/usr install
install -Dvm644 README.md -t "$pkgdir"/usr/share/doc/$pkgname/
install -Dvm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
# examples/hp is mentioned in README.md
cd examples/hp
install -Dvm644 MD5SUMS du-bytes results.correct \
-t "$pkgdir"/usr/share/doc/$pkgname/examples/hp/
}
sha512sums="
fb84fdd0a7dad286006ebcb3862ee5198bb0e3fa8071866e72a3c12a4116167d3e6f9f0665eb2ddaf102c43a3e939aa57bfc3b2aa8eda27a48dab572fb88dac4 sqawk-0.24.0.tar.gz
"