diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-06-14 19:20:46 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-06-14 19:20:46 -0400 |
commit | f7fd1d99d87f11c41cf09f881b1aeb950a3c8e13 (patch) | |
tree | 95910fb3078e1136e35aaa6d9f0f251cdb4ca1a8 /pcr/bbb-gadgets/PKGBUILD | |
parent | 09c1bb45d89c78a9fd80c7a500cb29a0908dc668 (diff) | |
parent | cd640e7ca0a8968edf887d03db8224334f663e84 (diff) | |
download | abslibre-f7fd1d99d87f11c41cf09f881b1aeb950a3c8e13.tar.gz abslibre-f7fd1d99d87f11c41cf09f881b1aeb950a3c8e13.tar.bz2 abslibre-f7fd1d99d87f11c41cf09f881b1aeb950a3c8e13.zip |
Merge branch 'master' of git://projects.parabolagnulinux.org/abslibre
Diffstat (limited to 'pcr/bbb-gadgets/PKGBUILD')
-rw-r--r-- | pcr/bbb-gadgets/PKGBUILD | 30 |
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" +} + |