summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d15e3b5c01acac82081a9738469bb69033f5e9de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Maintainer: Alfredo Ramos <alfredo dot ramos at yandex dot com>

pkgname=openbox-theme-surreal
pkgver=20070916
pkgrel=7
pkgdesc='A dark gray theme for Openbox'
arch=('any')
url='http://box-look.org/content/show.php?content=66397'
license=('GPL3')

optdepends=('openbox: to use this theme')
provides=("${pkgname}=${pkgver}")

source=(
	#'https://dl.opendesktop.org/api/files/download/id/1460769300/66397-Surreal.tar.bz2'
	'https://www.dropbox.com/s/zkcjzxxu1f35f4t/66397-Surreal.tar.bz2'
	'osd_tweaks.patch'
)
sha512sums=(
	'7f8170f2296ceb47864fe7cd589e3807aa28be7d0d0dc1925a95641f0c78b8c3c265b6874e41559f8048f2ee1abfcd1c92031869172462719820919a810c63a8'
	'57b33aa31e180a5e3d95ab03445c91aafce6a14e31122de5cd407a9d2332d88488f6c66512c10a8a53e7821a92fbfa576d2d4b3cf54e90b86f90f1ca0d898235'
)

prepare() {
	cd "${srcdir}"/Surreal
	patch -Np1 < ../osd_tweaks.patch
}

package() {	
	# Install theme
	mkdir -p "${pkgdir}"/usr/share/themes
	cp -R "${srcdir}"/Surreal "${pkgdir}"/usr/share/themes
}