32 lines
990 B
Text
32 lines
990 B
Text
|
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
|
||
|
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
||
|
pkgname=miltie
|
||
|
pkgver=1.0.0
|
||
|
pkgrel=0
|
||
|
pkgdesc="a small configurable milter for random housekeeping"
|
||
|
url="https://git.ptrc.gay/ptrcnull/miltie"
|
||
|
arch="all"
|
||
|
license="BSD-2-Clause"
|
||
|
makedepends="go"
|
||
|
subpackages="$pkgname-openrc"
|
||
|
source="https://git.ptrc.gay/ptrcnull/miltie/-/archive/$pkgver/miltie-$pkgver.tar.gz
|
||
|
miltie.initd
|
||
|
"
|
||
|
builddir="$srcdir/$pkgname-$pkgver"
|
||
|
options="!check" # it's quality software that doesn't require tests
|
||
|
|
||
|
build() {
|
||
|
go build .
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
install -Dm755 miltie -t "$pkgdir"/usr/bin/
|
||
|
|
||
|
install -Dm755 "$srcdir"/miltie.initd "$pkgdir"/etc/init.d/miltie
|
||
|
}
|
||
|
|
||
|
sha512sums="
|
||
|
0af0222e50c02c2f29cc09ec2bcde152a90f55213026669289f9309af71fed5a660fa29852bea5733b8d9fcd9c92e0acc42665e6b17e23bc1a2f980d8306867b miltie-1.0.0.tar.gz
|
||
|
7c13a7d3c4e50b89db6b6346859c17b6dd7c5adc072946364fd43d87225b42b8adbda03c109781b0a3b67d4e9b7753c763b9b6c8f7e96b6dd0e92adabf456e6d miltie.initd
|
||
|
"
|