diff options
author | Mohammadreza Abdollahzadeh | 2022-01-13 20:19:54 +0330 |
---|---|---|
committer | Mohammadreza Abdollahzadeh | 2022-01-13 20:19:54 +0330 |
commit | e8f1efc9a967ab886615ebb309e5958952a6f303 (patch) | |
tree | f64e5ecca1b9bffa89dc7cb916f000798d803496 | |
parent | 6a19470b0573001d397a6839853027a4dc4f437d (diff) | |
download | aur-e8f1efc9a967ab886615ebb309e5958952a6f303.tar.gz |
fix PKGBUILD
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 6 insertions, 5 deletions
@@ -1,6 +1,6 @@ pkgbase = seiscomp-maps pkgdesc = SeisComp map files. - pkgver = 4.8.2 + pkgver = 20220113 pkgrel = 1 url = https://www.seiscomp.de install = seiscomp-maps.install @@ -10,6 +10,6 @@ pkgbase = seiscomp-maps source = https://www.seiscomp.de/downloader/seiscomp-maps.tar.gz source = seiscomp-maps-tmpfiles.conf sha256sums = e0488c4905260ab160b7ee2508ad5b70467665632b8f15428864cccb444e4cca - sha256sums = d322747672e4261c5aad058391b5c9d3e6dde34c05133edb9a9ef5c67aead1de + sha256sums = 312911098291e60a40d4f3fd455b9a40b2d9b3489a589fb927fb6fc0b9ac2dd2 pkgname = seiscomp-maps @@ -1,6 +1,6 @@ # Maintainer: Mohammadreza Abdollahzadeh <morealaz at gmail dot com> pkgname=seiscomp-maps -pkgver=4.8.2 +pkgver=20220113 pkgrel=1 pkgdesc="SeisComp map files." arch=('any') @@ -11,12 +11,13 @@ install=${pkgname}.install source=("${url}/downloader/${pkgname}.tar.gz" "${pkgname}-tmpfiles.conf") sha256sums=('e0488c4905260ab160b7ee2508ad5b70467665632b8f15428864cccb444e4cca' - 'd322747672e4261c5aad058391b5c9d3e6dde34c05133edb9a9ef5c67aead1de') + '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 g+w "${pkgdir}/opt/${pkgname%-maps}/share/maps" + 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: |