diff options
Diffstat (limited to 'unmaintained/mdev-like-a-boss/APKBUILD')
-rw-r--r-- | unmaintained/mdev-like-a-boss/APKBUILD | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/unmaintained/mdev-like-a-boss/APKBUILD b/unmaintained/mdev-like-a-boss/APKBUILD new file mode 100644 index 0000000000..bd4cb7b8f9 --- /dev/null +++ b/unmaintained/mdev-like-a-boss/APKBUILD @@ -0,0 +1,75 @@ +# Contributor: Isaac Dunham <ibid.ag@gmail.com> +# Maintainer: Isaac Dunham <ibid.ag@gmail.com> +pkgname=mdev-like-a-boss +pkgver=20140928 +pkgrel=0 +pkgdesc="Extras for using mdev instead of udev" +url="https://github.com/slashbeast/mdev-like-a-boss" +arch="all" +license="custom:BSD" +depends="busybox-initscripts" +makedepends="" +install="" +subpackages="$pkgname-xorg $pkgname-doc" +provides="udev" +source="mdev-like-a-boss-$pkgver.tar.gz::https://github.com/slashbeast/mdev-like-a-boss/archive/$pkgver.tar.gz + 00-update-to-git-a5682fe.patch + 0001-adjust-sample-conf-for-alpine-packaging.patch + README.alpine + " + +_builddir="$srcdir"/mdev-like-a-boss-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" +} + +package() { + cd "$_builddir" || return 1 + mkdir -p -m 0755 \ + "$pkgdir/lib/mdev-like-a-boss" \ + "$pkgdir/usr/share/doc/mdev-like-a-boss" \ + "$pkgdir/usr/share/licenses/mdev-like-a-boss" || return 1 + cp helpers/* "$pkgdir"/lib/mdev-like-a-boss/ || return 1 + cp LICENSE "$pkgdir"/usr/share/licenses/mdev-like-a-boss/ || return 1 + cp -R keymaps/ "$pkgdir"/lib/mdev-like-a-boss/ || return 1 + cp README.rst TODO mdev.conf "$pkgdir"/usr/share/doc/mdev-like-a-boss \ + || return 1 + cp "$srcdir"/README.alpine "$pkgdir"/usr/share/doc/mdev-like-a-boss \ + || return 1 +} + +xorg() { + # try to suppress a package that setup-xorg-base adds; + # the evdev driver needs udev + provides="xf86-input-evdev" + # Should this drag in synaptics as well? + depends="xf86-input-mouse xf86-input-keyboard" + pkgdesc="$pkgdesc (extras for udev-less xorg)" + install_if="$pkgname=$pkgver-r$pkgrel xorg-server" + cd "$_builddir" || return 1 + mkdir -p -m 0755 "$subpkgdir/usr/share/X11/" && \ + cp -R xorg.conf.d/ "$subpkgdir/usr/share/X11/" || return 1 +} + +md5sums="4ad1e0bfc42345fc98eef7608235ca19 mdev-like-a-boss-20140928.tar.gz +1fbc8687351b24031e220ca1049ff058 00-update-to-git-a5682fe.patch +5fc798745e270dced84585abdc3d147f 0001-adjust-sample-conf-for-alpine-packaging.patch +10ae564fb545d267da1df672f96871b4 README.alpine" +sha256sums="b5b1d9f4ea60c788883e9eff6889cb3d330bc0c2cfdeeb583b2fed7642339a25 mdev-like-a-boss-20140928.tar.gz +1860b7da927b5f03cde68225adfa06e6c24804c70595a06b903e1c78fce44fb2 00-update-to-git-a5682fe.patch +f35d2df28e37f2618c3310197bc9649108fed15c04057e3e9cd4be26228030e7 0001-adjust-sample-conf-for-alpine-packaging.patch +1d2a2b2b00946466aef3acd5f180e3685ca56575a4be0ba4154cae6d8e14acbb README.alpine" +sha512sums="c8405c03bab4d80fd5a7495e6bb09113cda1eab687ef0dddf758472ef30f72252275623966d107cf2e00b15c6a3313fb1a8bba1e46b8b6e28a06c9fe75236efb mdev-like-a-boss-20140928.tar.gz +782c0795ee60050d03a0c92ceff94b48bd07f2ce73f1629151842f4462978688c0358fed314cf8b145d572c6572de0ce43aff6f0ee7b77026b4c14d3ef739280 00-update-to-git-a5682fe.patch +9ad565ea1a1bb77fb6f66fc3609770bc467f9e13a35fb8ae68915a9735d2ee9c769653fcaedae57f45be3245d32c078061ef4f1310a03c48458c2ff739f84d38 0001-adjust-sample-conf-for-alpine-packaging.patch +de8be8ee2330f3e89250021cbd4329119ba2445df506cecac3908f64d3b9dba4cffbc6a202ebe5f4902db45fa58cb0bed7a12c1fc43be6fa002611a047c109da README.alpine" |