blob: 77d069429ade2789c039adeaf554a3b98c04c977 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: Mohammadreza Abdollahzadeh <morealaz at gmail dot com>
pkgname=seiscomp-maps
pkgver=20220113
pkgrel=2
pkgdesc="SeisComP default map files."
arch=('any')
url="https://www.seiscomp.de"
license=('AGPL3')
depends=("${pkgname%-maps}")
install=${pkgname}.install
source=("${url}/downloader/${pkgname}.tar.gz"
"${pkgname}-tmpfiles.conf")
sha256sums=('e0488c4905260ab160b7ee2508ad5b70467665632b8f15428864cccb444e4cca'
'312911098291e60a40d4f3fd455b9a40b2d9b3489a589fb927fb6fc0b9ac2dd2')
package() {
install -d "${pkgdir}/opt"
cp -r "${pkgname%-maps}" "${pkgdir}/opt/"
install -D -m 644 "${pkgname}-tmpfiles.conf" "${pkgdir}/usr/lib/tmpfiles.d/${pkgname}.conf"
chmod -R u=rwX,g=rwX,o=rX "${pkgdir}/opt/${pkgname%-maps}"
find "${pkgdir}/opt/${pkgname%-maps}" -type d -exec chmod g+s '{}' \;
}
# vim:set ts=4 sw=4 et:
|