blob: 2263b14a269d5420ae17e4eb26cbc488510e284e (
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
|
#Maintainer: theblazehen <com.theblazehen@post - reverse>
pkgname=fractalart-git
pkgver=r5.30330b1
pkgrel=1
pkgdesc="Fractal art desktop wallpaper generator"
arch=('any')
url="https://github.com/TomSmeets/FractalArt"
licence=("MIT")
install=fractalart-git.install
makedepends=('git' 'zlib' 'cabal-install' 'ghc')
provides=('fractalart-git')
source=('git+http://github.com/TomSmeets/FractalArt' 'fractalart.desktop')
md5sums=('SKIP' 'SKIP')
pkgver() {
cd "FractalArt"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "FractalArt"
cabal update
cabal install
}
package() {
cd "FractalArt"
install -d -m 755 ${pkgdir}/usr/bin
cp dist/build/FractalArt/FractalArt ${pkgdir}/usr/bin/FractalArt
cd ..
install -d ${pkgdir}/etc/xdg/autostart
cp fractalart.desktop ${pkgdir}/etc/xdg/autostart/
}
|