summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.AURINFO22
-rw-r--r--.SRCINFO24
-rw-r--r--PKGBUILD46
-rw-r--r--aseprite.desktop9
4 files changed, 101 insertions, 0 deletions
diff --git a/.AURINFO b/.AURINFO
new file mode 100644
index 00000000000..51042739e9c
--- /dev/null
+++ b/.AURINFO
@@ -0,0 +1,22 @@
+pkgbase = aseprite
+ pkgdesc = Create animated sprites and pixel art
+ pkgver = 1.0.9
+ pkgrel = 1
+ url = http://www.aseprite.org/
+ arch = x86_64
+ arch = i686
+ license = GPL
+ makedepends = cmake
+ depends = allegro
+ depends = pixman
+ depends = curl
+ depends = giflib
+ depends = zlib
+ depends = libpng
+ depends = tinyxml
+ depends = gtest
+ source = git+https://github.com/aseprite/aseprite.git#tag=v1.0.9
+ source = aseprite.desktop
+
+pkgname = aseprite
+
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0088c5cf010
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+pkgbase = aseprite
+ pkgdesc = Create animated sprites and pixel art
+ pkgver = 1.0.9
+ pkgrel = 1
+ url = http://www.aseprite.org/
+ arch = x86_64
+ arch = i686
+ license = GPL
+ makedepends = cmake
+ depends = allegro
+ depends = pixman
+ depends = curl
+ depends = giflib
+ depends = zlib
+ depends = libpng
+ depends = tinyxml
+ depends = gtest
+ source = git+https://github.com/aseprite/aseprite.git#tag=v1.0.9
+ source = aseprite.desktop
+ sha256sums = SKIP
+ sha256sums = c9e624b9fd095ebb3eec8220a58d4a9422f39d68477bafcc0047d773814ba0aa
+
+pkgname = aseprite
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..15a34fc747d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,46 @@
+# Maintainer: Benoit Favre <benoit.favre@gmail.com>
+# Contributor: Alexander Rødseth <rodseth@gmail.com>
+# Contributor: Kamil Biduś <kamil.bidus@gmail.com>
+
+pkgname=aseprite
+pkgver=1.0.9
+pkgrel=1
+pkgdesc='Create animated sprites and pixel art'
+arch=('x86_64' 'i686')
+url='http://www.aseprite.org/'
+license=('GPL')
+depends=('allegro' 'pixman' 'curl' 'giflib' 'zlib' 'libpng' 'tinyxml' 'gtest')
+makedepends=('cmake')
+source=("git+https://github.com/aseprite/aseprite.git#tag=v${pkgver}"
+ "aseprite.desktop")
+sha256sums=('SKIP'
+ 'c9e624b9fd095ebb3eec8220a58d4a9422f39d68477bafcc0047d773814ba0aa')
+
+build() {
+ cd "$pkgname"
+
+ cmake -DUSE_SHARED_PIXMAN=ON -DLIBPIXMAN_LIBRARY=/usr/lib/libpixman-1.so -DLIBPIXMAN_INCLUDE_DIR=/usr/include/pixman-1/ \
+ -DUSE_SHARED_CURL=ON \
+ -DUSE_SHARED_GIFLIB=ON \
+ -DUSE_SHARED_JPEGLIB=OFF \
+ -DUSE_SHARED_ZLIB=ON \
+ -DUSE_SHARED_LIBPNG=OFF \
+ -DUSE_SHARED_LIBLOADPNG=OFF \
+ -DUSE_SHARED_TINYXML=ON \
+ -DUSE_SHARED_GTEST=ON \
+ -DENABLE_UPDATER=OFF \
+ -DCMAKE_INSTALL_PREFIX:STRING=/usr .
+ make aseprite
+}
+
+package() {
+ cd "$pkgname"
+
+ make DESTDIR="$pkgdir/" install/fast
+ 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/aseprite.desktop b/aseprite.desktop
new file mode 100644
index 00000000000..b000fa01898
--- /dev/null
+++ b/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