summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 57b82291b3917bec5f3b03baedf9d89585508a9f (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
pkgname=livewallpaper
pkgver=0.4.1
pkgrel=2
pkgdesc="OpenGL powered animated wallpapers with configuration utility, autostart, and application indicator."
arch=(any)
url="https://launchpad.net/livewallpaper"
license=('GPL3')
depends=('libgl' 'gtk3' 'libpeas' 'libx11' 'python' 'python-numpy' 'python-cairo' 'python-opengl')
makedepends=('intltool' 'xcftools')
provides=('livewallpaper' 'livewallpaper-indicator' 'livewallpaper-config')
source=(https://launchpad.net/livewallpaper/0.4/0.4.1/+download/livewallpaper-0.4.1.tar.gz)
sha256sums=(9b1e386ce0aa0547d8ac9938a8d3f211cffd8b38496bf1972a99455d94bd2de6)
install=livewallpaper.install

build() {
	cd "$srcdir/$pkgname-$pkgver/cmake"
	sed -i "s/set(LIVEWALLPAPER_REQUIRES\
/&\n\tx11/" ../CMakeLists.txt
	cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr ../
}

package() {
	cd "$srcdir/$pkgname-$pkgver/cmake"
	make DESTDIR="$pkgdir/" install
}