diff options
Diffstat (limited to 'pcr/aseprite/PKGBUILD')
-rw-r--r-- | pcr/aseprite/PKGBUILD | 33 |
1 files changed, 33 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: |