summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/cpptest/PKGBUILD4
-rw-r--r--pcr/udisks2-openrc/PKGBUILD20
-rwxr-xr-xpcr/udisks2-openrc/udisks2.initd9
3 files changed, 31 insertions, 2 deletions
diff --git a/pcr/cpptest/PKGBUILD b/pcr/cpptest/PKGBUILD
index 9b1cc6ead..4ea8f5b27 100644
--- a/pcr/cpptest/PKGBUILD
+++ b/pcr/cpptest/PKGBUILD
@@ -7,10 +7,10 @@ pkgdesc="CppTest is a portable and powerful unit testing framework for handling
url="http://cpptest.sourceforge.net/"
depends=(gcc-libs)
makedepends=(pkgconfig)
-source=(http://downloads.sourceforge.net/sourceforge/cpptest/$pkgname-$pkgver.tar.gz)
+source=("http://downloads.sourceforge.net/sourceforge/cpptest/$pkgname-$pkgver.tar.gz")
md5sums=('79b9bff371d182f11a3235969f84ccb6')
arch=('i686' 'x86_64' 'mips64el')
-license="LGPL"
+license=('LGPL')
build() {
cd ${srcdir}/$pkgname-$pkgver
diff --git a/pcr/udisks2-openrc/PKGBUILD b/pcr/udisks2-openrc/PKGBUILD
new file mode 100644
index 000000000..d9861b178
--- /dev/null
+++ b/pcr/udisks2-openrc/PKGBUILD
@@ -0,0 +1,20 @@
+# Maintainer: David P. <megver83@parabola.nu>
+
+pkgname=udisks2-openrc
+pkgver=20170511
+pkgrel=1
+pkgdesc="OpenRC udisks2 init script"
+arch=(any)
+url="https://www.parabola.nu"
+license=('GPL2')
+depends=('udisks2' 'openrc')
+source=("udisks2.initd")
+md5sums=('9add7dad78d93cbe2fcf4582cc7ce069')
+
+pkgver() {
+ date +%Y%m%d
+}
+
+package() {
+ install -Dm755 udisks2.initd $pkgdir/etc/init.d/udisks2
+}
diff --git a/pcr/udisks2-openrc/udisks2.initd b/pcr/udisks2-openrc/udisks2.initd
new file mode 100755
index 000000000..e597d2bc2
--- /dev/null
+++ b/pcr/udisks2-openrc/udisks2.initd
@@ -0,0 +1,9 @@
+#!/sbin/openrc-run
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+#
+# This is an unofficial udisks2 OpenRC init script made by Megver83
+
+description="Disk Manager"
+command=/usr/lib/udisks2/udisksd
+pidfile=/run/udisks2.pid