blob: fa301bf1ef545538fbf9d5663c58cc67a9cb74e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=noprs
pkgver=20191030
pkgrel=0
pkgdesc="Close all new GitHub PRs for an organization"
url="https://github.com/nmeum/noprs"
arch="noarch"
license="AGPL-3.0-or-later"
depends="hy py3-pygithub"
makedepends="py3-setuptools"
subpackages="$pkgname-doc $pkgname-openrc"
options="!check" # doesn't have a test suite
install="$pkgname.pre-install"
source="$pkgname-$pkgver.tar.gz::https://github.com/nmeum/noprs/archive/$pkgver.tar.gz
$pkgname.confd
$pkgname.initd"
package() {
install -Dm755 $pkgname.hy "$pkgdir"/usr/bin/$pkgname
install -Dm644 README.md \
"$pkgdir"/usr/share/doc/$pkgname/README.md
# OpenRC configuration file contains confidential information.
install -Dm755 "$srcdir"/$pkgname.initd \
"$pkgdir"/etc/init.d/$pkgname
install -Dm600 "$srcdir"/$pkgname.confd \
"$pkgdir"/etc/conf.d/$pkgname
}
sha512sums="277b28955a51ba24607a3ad6cb90d75a988b260c42d348b50506cd193d8645186bbf7ffdcdb9119e9361510c122aa9995efce74a771e838dffd735b27a2a0f08 noprs-20191030.tar.gz
e476b5e7a7607881fc9dee49819ee5ff4bf07a488d77bacf8f02b807b06964136626863883f70102fad6582af21099ff16844dc903554eb68108e7eddd8f0603 noprs.confd
8317ace5c81288f3b9247513d291240c79b490ee978cb0a74784b1f7acfb821faf31cb64769824c3abd06632069471d6c3d00bb495cc9d2e817d5f64fa2c10c5 noprs.initd"
|