summaryrefslogtreecommitdiff
path: root/pcr/opentmpfiles/PKGBUILD
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2017-03-17 14:52:36 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2017-03-17 14:52:36 -0500
commitb9851ba1812445551fd4b9ea246f3cefaa838260 (patch)
tree4b5b73e230588e85d07f56ee307395c0f5ee4f4f /pcr/opentmpfiles/PKGBUILD
parentbf4ec4bf2cb34a7390cd60f23ef8e04771e7de23 (diff)
downloadabslibre-b9851ba1812445551fd4b9ea246f3cefaa838260.tar.gz
abslibre-b9851ba1812445551fd4b9ea246f3cefaa838260.tar.bz2
abslibre-b9851ba1812445551fd4b9ea246f3cefaa838260.zip
opentmpfiles-0.1.3-2: rebuild
Diffstat (limited to 'pcr/opentmpfiles/PKGBUILD')
-rw-r--r--pcr/opentmpfiles/PKGBUILD13
1 files changed, 6 insertions, 7 deletions
diff --git a/pcr/opentmpfiles/PKGBUILD b/pcr/opentmpfiles/PKGBUILD
index 69be963f2..9a8e31760 100644
--- a/pcr/opentmpfiles/PKGBUILD
+++ b/pcr/opentmpfiles/PKGBUILD
@@ -2,26 +2,22 @@
# Contributor (Manjaro): williamh <williamh@gentoo.org>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
-_url="https://github.com/OpenRC/opentmpfiles/archive"
-
pkgname=opentmpfiles
pkgver=0.1.3
-pkgrel=1
+pkgrel=2
pkgdesc="A standalone utility for handling systemd-style tmpfiles.d settings"
arch=('any')
-url="http://www.gentoo.org/proj/en/base/openrc/"
+url="https://github.com/OpenRC/opentmpfiles/archive"
license=('BSD2')
groups=('openrc-base')
depends=('openrc')
backup=('etc/conf.d/opentmpfiles-dev'
'etc/conf.d/opentmpfiles-setup')
-source=("${pkgname}-${pkgver}.tar.gz::${_url}/${pkgver}.tar.gz")
+source=("${pkgname}-${pkgver}.tar.gz::${url}/${pkgver}.tar.gz")
sha256sums=('1fdd4587c62d815296fb4162002cf001e3ed7aae8727d9b4360f527169e6b3be')
_inst_initd(){
install -Dm755 openrc/$1.initd ${pkgdir}/etc/init.d/$1
- sed -e 's|#!/sbin/openrc-run|#!/usr/bin/openrc-run|' \
- -i ${pkgdir}/etc/init.d/$1
}
_inst_confd(){
@@ -42,4 +38,7 @@ package() {
ln -snf "/etc/init.d/opentmpfiles-setup" "${pkgdir}/etc/runlevels/boot/opentmpfiles-setup"
ln -snf "/usr/bin/tmpfiles" "${pkgdir}/usr/bin/systemd-tmpfiles"
+
+ install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m644 "${srcdir}/${pkgname}-${pkgver}/license" "${pkgdir}/usr/share/licenses/${pkgname}/"
}