aboutsummaryrefslogtreecommitdiffstats
path: root/testing/zram-init
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2015-12-31 19:03:47 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2015-12-31 19:03:47 +0100
commit676007cd4238e533744e213f6e50b2365ff2e853 (patch)
tree1de2eb0b642b21b1ed8a3bb8dc97c060778aa35f /testing/zram-init
parentbe528c477beaecbaeb8716bc6e5b6f09bded6a1f (diff)
downloadaports-676007cd4238e533744e213f6e50b2365ff2e853.tar.bz2
aports-676007cd4238e533744e213f6e50b2365ff2e853.tar.xz
testing/zram-init: fix indention
Diffstat (limited to 'testing/zram-init')
-rw-r--r--testing/zram-init/APKBUILD34
1 files changed, 16 insertions, 18 deletions
diff --git a/testing/zram-init/APKBUILD b/testing/zram-init/APKBUILD
index 50ca8d43e4..ca08205aa1 100644
--- a/testing/zram-init/APKBUILD
+++ b/testing/zram-init/APKBUILD
@@ -1,39 +1,37 @@
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
-
pkgname=zram-init
pkgver=3.5
pkgrel=0
-pkgdesc='wrapper script for the zram kernel module'
-arch=noarch
-url='https://github.com/vaeth/zram-init'
-license='GPL2'
+pkgdesc="wrapper script for the zram kernel module"
+arch="noarch"
+url="https://github.com/vaeth/zram-init"
+license="GPL2"
depends="e2fsprogs-extra"
subpackages="$pkgname-zsh-completion:zshcomp"
source="$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
_builddir="$srcdir/$pkgname-$pkgver"
-
build() {
- true
+ return 0
}
package() {
- cd "$_builddir"
- install -Dm644 modprobe.d/zram.conf "$pkgdir"/etc/modprobe.d/zram.conf
- install -Dm755 sbin/zram-init "$pkgdir"/usr/sbin/zram-init
- install -Dm644 openrc/conf.d/zram-init "$pkgdir"/etc/conf.d/zram-init
- install -Dm755 openrc/init.d/zram-init "$pkgdir"/etc/init.d/zram-init
+ cd "$_builddir"
+ install -Dm644 modprobe.d/zram.conf "$pkgdir"/etc/modprobe.d/zram.conf
+ install -Dm755 sbin/zram-init "$pkgdir"/usr/sbin/zram-init
+ install -Dm644 openrc/conf.d/zram-init "$pkgdir"/etc/conf.d/zram-init
+ install -Dm755 openrc/init.d/zram-init "$pkgdir"/etc/init.d/zram-init
}
zshcomp() {
- depends=""
- pkgdesc="Zsh completions for $pkgname"
- install_if="$pkgname=$pkgver-r$pkgrel zsh"
- arch="noarch"
+ depends=""
+ pkgdesc="Zsh completions for $pkgname"
+ install_if="$pkgname=$pkgver-r$pkgrel zsh"
+ arch="noarch"
- install -Dm644 "$_builddir"/zsh/_$pkgname \
- "$subpkgdir"/usr/share/zsh/site-functions/_$pkgname
+ install -Dm644 "$_builddir"/zsh/_$pkgname \
+ "$subpkgdir"/usr/share/zsh/site-functions/_$pkgname
}
md5sums="228dd3901e4b8def156bcb01d1ba90de zram-init-3.5.tar.gz"