summaryrefslogtreecommitdiff
path: root/pcr/modemmanager-pk-rules/PKGBUILD
blob: 7befa5fc65ab4ac86584d07f616aa8aaacc77578 (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 (Arch): artoo <artoo@manjaro.org>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>

pkgname=modemmanager-pk-rules
pkgver=20160402
pkgrel=1
pkgdesc="ModemManager polkit rule for non-systemd systems"
arch=('any')
groups=('openrc-desktop' 'openrc-mobile')
license=('GPL')
url="https://github.com/manjaro/packages-openrc"
depends=('modemmanager')
source=('01-org.freedesktop.ModemManager1.rules')
sha256sums=('17b5e3ead960a0d2c3cea3f1549d1e83ada9600f174ab9a96f083abe6d8f962d')

pkgver() {
	date +%Y%m%d
}

package() {
	install -dm 750 -o polkitd "${pkgdir}"/usr/share/polkit-1/rules.d
	install -m 644 ${srcdir}/01-org.freedesktop.ModemManager1.rules $pkgdir/usr/share/polkit-1/rules.d/
}