summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeandre Henderson2015-10-16 19:50:44 +0200
committerJeandre Henderson2015-10-16 19:50:44 +0200
commit19737b0ec36ded80a271ce83c5ffbc2f840d4a84 (patch)
tree5c8c636c03fe6bbf9d4060b6d91afa585398fe87
downloadaur-19737b0ec36ded80a271ce83c5ffbc2f840d4a84.tar.gz
Initial commit
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD32
-rw-r--r--fractalart-git.install5
-rw-r--r--fractalart.desktop8
4 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3431c49f2d4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = fractalart-git
+ pkgdesc = Fractal art desktop wallpaper generator
+ pkgver = r5.30330b1
+ pkgrel = 1
+ url = https://github.com/TomSmeets/FractalArt
+ install = fractalart-git.install
+ arch = any
+ makedepends = git
+ makedepends = zlib
+ makedepends = cabal-install
+ makedepends = ghc
+ provides = fractalart-git
+ source = git+http://github.com/TomSmeets/FractalArt
+ source = fractalart.desktop
+ md5sums = SKIP
+ md5sums = SKIP
+
+pkgname = fractalart-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2263b14a269
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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/
+}
diff --git a/fractalart-git.install b/fractalart-git.install
new file mode 100644
index 00000000000..cb963c3ca6b
--- /dev/null
+++ b/fractalart-git.install
@@ -0,0 +1,5 @@
+post_install() {
+ echo "FractalArt runs on startup if your DE runs xdg startup files, otherwise you will need to run it manually at login by executing \"FractalArt\""
+ echo "The generated image is available at ~/.fractalart/wallpaper.bmp"
+ echo "To set this wallpaper on Gnome run gsettings set org.gnome.desktop.background picture-uri file://$HOME/.fractalart/wallpaper.bmp"
+}
diff --git a/fractalart.desktop b/fractalart.desktop
new file mode 100644
index 00000000000..05d23efd951
--- /dev/null
+++ b/fractalart.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=FractalArt
+GenericName=Fractal Art
+Comment=Generate Wallpapers
+Exec=FractalArt
+Terminal=false
+Type=Application
+Categories=Graphics