summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b8427736e6b024500b17e8dc86406166fdb02429 (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
# Maintainer: omgold@aur
pkgname=satanic-gnome-themes
pkgver=666.9
pkgrel=1
pkgdesc="Themes for Gnome/GTK from Ubuntu Satanic Edition."
url="http://www.ubuntusatanic.org"
arch=('any')
license=('GPL')
depends=('gtk-engine-aurora')
optdepends=()
makedepends=(squashfs-tools)
conflicts=()
replaces=()
backup=()
_iso_file=satanic-undead-i386-666.9.iso
source=("https://netix.dl.sourceforge.net/project/archiveos/u/ubuntu-satanic/$_iso_file")
noextract=($_iso_file)
sha256sums=('dec381affcc91edc0273bfe736da07cb4c7cd2db3e95b6d724735ff8cd73ddfd')

build() {
    bsdtar -xf ${_iso_file} casper/filesystem.squashfs
    rm -rf $srcdir/squashfs-root
    unsquashfs $srcdir/casper/filesystem.squashfs /usr/share/backgrounds/
}

package() {
    mkdir -p $pkgdir/usr/share/backgrounds
    mv $srcdir/squashfs-root/usr/share/backgrounds/SE-* $pkgdir/usr/share/backgrounds || return 1
}