summaryrefslogtreecommitdiff
path: root/pcr/aseprite
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/aseprite')
-rw-r--r--pcr/aseprite/PKGBUILD33
-rw-r--r--pcr/aseprite/aseprite.desktop9
2 files changed, 42 insertions, 0 deletions
diff --git a/pcr/aseprite/PKGBUILD b/pcr/aseprite/PKGBUILD
new file mode 100644
index 000000000..bf0052363
--- /dev/null
+++ b/pcr/aseprite/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Benoit Favre <benoit.favre@gmail.com>
+# Contributor: Alexander Rødseth <rodseth@gmail.com>
+
+pkgname=aseprite
+pkgver=0.9.5
+pkgrel=3
+pkgdesc='Create animated sprites and pixel art'
+arch=('x86_64' 'i686')
+url='http://www.aseprite.org/'
+license=('GPL')
+depends=('allegro')
+makedepends=('cmake')
+source=("http://aseprite.googlecode.com/files/$pkgname-$pkgver.zip" aseprite.desktop)
+sha256sums=('ce4f1e011744f9a5927a5341fccc3938b67f15f6a66d5df6b4282c5498fb8fd5' 'c9e624b9fd095ebb3eec8220a58d4a9422f39d68477bafcc0047d773814ba0aa')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ cmake -DCMAKE_INSTALL_PREFIX:STRING=/usr .
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+ install -Dm644 "$srcdir/$pkgname.desktop" \
+ "$pkgdir/usr/share/applications/$pkgname.desktop"
+ install -Dm644 "data/icons/ase48.png" \
+ "$pkgdir/usr/share/pixmaps/$pkgname.png"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/aseprite/aseprite.desktop b/pcr/aseprite/aseprite.desktop
new file mode 100644
index 000000000..b000fa018
--- /dev/null
+++ b/pcr/aseprite/aseprite.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Encoding=UTF-8
+Name=Aseprite
+Comment=Pixel-art paint program
+Exec=aseprite
+Terminal=false
+Categories=Graphics;2DGraphics;RasterGraphics
+Icon=aseprite