diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2018-07-28 00:01:39 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2018-07-28 00:01:57 -0400 |
commit | b2cc5a399051083518d8b4c9ff0d39356b13abcb (patch) | |
tree | 57ce2fd532cb52d48d7c46922ceaafc5929064b5 /pcr/bbb-gadgets | |
parent | 7c8ba901313707f6310c159df4176dedae01e719 (diff) | |
download | abslibre-b2cc5a399051083518d8b4c9ff0d39356b13abcb.tar.gz abslibre-b2cc5a399051083518d8b4c9ff0d39356b13abcb.tar.bz2 abslibre-b2cc5a399051083518d8b4c9ff0d39356b13abcb.zip |
pcr/bbb-gadgets: Drop dep on systemd
The script is useful, even if there is no systemd to run the .service files
on boot.
Also
- fixup quoting
- mention that the original is from the old AUR3
- capitalize USB
Diffstat (limited to 'pcr/bbb-gadgets')
-rw-r--r-- | pcr/bbb-gadgets/PKGBUILD | 24 | ||||
-rw-r--r-- | pcr/bbb-gadgets/storage-gadget-init.service | 2 |
2 files changed, 11 insertions, 15 deletions
diff --git a/pcr/bbb-gadgets/PKGBUILD b/pcr/bbb-gadgets/PKGBUILD index 71e0bf510..d591abe76 100644 --- a/pcr/bbb-gadgets/PKGBUILD +++ b/pcr/bbb-gadgets/PKGBUILD @@ -1,15 +1,15 @@ -# Contributor (Arch) : Brice Waegeneire < brice dot wge at gmail dot com > -# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp> +# Maintainer: Aurélien DESBRIÈRES <aurelien@hackers.camp> +# Contributor (AUR3): Brice Waegeneire <brice.wge@gmail.com> pkgname=bbb-gadgets pkgver=20130905 -pkgrel=3.2 -pkgdesc="Units to initialize usb gadgets for the BeagleBone Black" +pkgrel=4 +pkgdesc="Units to initialize USB gadgets for the BeagleBone Black" arch=('any') url="http://www.beagleboard.org/" license=('MIT') makedepends=('git') -depends=('bash' 'systemd' 'dhcp' 'devmem') +depends=('bash' 'dhcp' 'devmem') backup=('etc/dhcpd-usb0.conf') source=('dhcpd-usb0.conf' 'g-ether-load.sh' @@ -20,17 +20,13 @@ sha256sums=('fbdd96a314618d71b42a703aa1ee6746c02619105417a7ffa44a5852d37502f9' '84183330e0e02ed9229bfa8d9803851d91b18f1aa07aeadeee189322268f640b' 'a3cf78761a26fb2c850aec855708e83f808617c0c9c4620db58f06cbd2ce4d36' '56fb820f0fa844cf3e65f1adc88d60552ab7e602cd00cd5068bdc359d50042db' - 'f7437cac944bee954125ee610a0a039307b71bd85f852af63a345e977a2f633f') - + '49021ea919580689ffada058656a90b123446c5c1b1633c6bd2258eaa126fbac') package() { - install -d $pkgdir/usr/lib/systemd/system - install -m 0644 $srcdir/*.service $pkgdir/usr/lib/systemd/system - - install -D -m 0644 $srcdir/dhcpd-usb0.conf $pkgdir/etc/dhcpd-usb0.conf - - install -D -m 0755 $srcdir/g-ether-load.sh $pkgdir/usr/bin/g-ether-load.sh + install -D -m 0644 -t "$pkgdir"/usr/lib/systemd/system -- "$srcdir"/*.service + install -D -m 0644 "$srcdir"/dhcpd-usb0.conf "$pkgdir"/etc/dhcpd-usb0.conf + install -D -m 0755 "$srcdir"/g-ether-load.sh "$pkgdir"/usr/bin/g-ether-load.sh - install -D -m 0644 $srcdir/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -D -m 0644 "$srcdir"/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } diff --git a/pcr/bbb-gadgets/storage-gadget-init.service b/pcr/bbb-gadgets/storage-gadget-init.service index 8c2a30c12..9767b0b3c 100644 --- a/pcr/bbb-gadgets/storage-gadget-init.service +++ b/pcr/bbb-gadgets/storage-gadget-init.service @@ -1,5 +1,5 @@ [Unit] -Description=Start usb mass storage gadget +Description=Start USB mass storage gadget After=dev-mmcblk0p1.device [Service] |