aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-11-24 15:09:42 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-11-24 15:09:42 +0000
commit20eea3e7b785d214dab1241261108d4b30fddceb (patch)
tree26f597e819cc2d2b1784c9db507b33d4539000de /x11
parentd62386fb171e5a37a0ac6c2e56387cd65a8d9d1f (diff)
downloadaports-20eea3e7b785d214dab1241261108d4b30fddceb.tar.bz2
aports-20eea3e7b785d214dab1241261108d4b30fddceb.tar.xz
x11/slim: added new default slim theme
Diffstat (limited to 'x11')
-rw-r--r--x11/slim-alpinelinux/APKBUILD21
-rw-r--r--x11/slim/APKBUILD15
2 files changed, 33 insertions, 3 deletions
diff --git a/x11/slim-alpinelinux/APKBUILD b/x11/slim-alpinelinux/APKBUILD
new file mode 100644
index 0000000000..84243fc60a
--- /dev/null
+++ b/x11/slim-alpinelinux/APKBUILD
@@ -0,0 +1,21 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=slim-alpinelinux
+pkgver=1.0
+pkgrel=0
+pkgdesc="SLiM theme for Alpine Linux"
+url="http://www.alpinelinux.org"
+license="GPL"
+depends=""
+makedepends=""
+install=
+subpackages=
+source="http://dev.alpinelinux.org/~ncopa/alpine/slim-alpinelinux.tar.gz"
+
+build() {
+ cd "$srcdir"/$pkgname
+ install -d "$pkgdir"/usr/share/slim/themes/alpinelinux
+ cp background.png panel.png slim.theme \
+ "$pkgdir"/usr/share/slim/themes/alpinelinux/
+}
+
+md5sums="cd63232c7770b0e67a009a94c2a46b82 slim-alpinelinux.tar.gz"
diff --git a/x11/slim/APKBUILD b/x11/slim/APKBUILD
index 6476730e12..3eedd821cb 100644
--- a/x11/slim/APKBUILD
+++ b/x11/slim/APKBUILD
@@ -1,13 +1,13 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=slim
pkgver=1.3.1
-pkgrel=1
+pkgrel=2
pkgdesc="Desktop-independent graphical login manager for X11"
url="http://slim.berlios.de/"
license="GPL-2"
-subpackages="$pkgname-doc"
+subpackages="$pkgname-doc $pkgname-themes"
makedepends="libxmu-dev libpng-dev jpeg-dev libxft-dev"
-depends=""
+depends="slim-alpinelinux"
install=
source="http://download.berlios.de/$pkgname/$pkgname-$pkgver.tar.gz
$pkgname.logrotate
@@ -28,6 +28,7 @@ prepare() {
-e 's|login_cmd.*|login_cmd exec /bin/sh -l /etc/X11/xinit/xinitrc|' \
-e 's|screenshot_cmd.*|screenshot_cmd scrot /slim.png|' \
-e 's|imagemagick|scrot|' \
+ -e 's|current_theme.*|current_theme alpinelinux|' \
slim.conf || return 1
}
@@ -44,6 +45,14 @@ package() {
install -D -m644 ../slim.logrotate "$pkgdir"/etc/logrotate.d/slim
}
+themes() {
+ pkgdesc="Default themes for SLiM"
+ mkdir -p "$subpkgdir"/usr
+ mv "$pkgdir"/usr/share "$subpkgdir"/usr/
+}
+
+
+
md5sums="727d0acb24c0fbf0751134c37a9c895f slim-1.3.1.tar.gz
43da096480bf72c3ccec8ad8400f34f0 slim.logrotate
6ee3a023e56052528295034be809cfc6 slim.initd