summaryrefslogtreecommitdiff
path: root/pcr/bbb-gadgets/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/bbb-gadgets/PKGBUILD')
-rw-r--r--pcr/bbb-gadgets/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/pcr/bbb-gadgets/PKGBUILD b/pcr/bbb-gadgets/PKGBUILD
new file mode 100644
index 000000000..4affed078
--- /dev/null
+++ b/pcr/bbb-gadgets/PKGBUILD
@@ -0,0 +1,30 @@
+# Contributor (Arch) : Brice Waegeneire < brice dot wge at gmail dot com >
+# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
+pkgname=bbb-gadgets
+pkgver=20130905
+pkgrel=3
+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')
+backup=('etc/dhcpd-usb0.conf')
+source=('dhcpd-usb0.conf'
+ 'g-ether-load.sh'
+ 'LICENSE'
+ 'network-gadget-init.service'
+ 'storage-gadget-init.service')
+
+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 $srcdir/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+