summaryrefslogtreecommitdiff
path: root/pcr/aseprite/PKGBUILD
blob: 27648972ae56fb0ca90017970e245d523a9fdc6b (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
33
# Maintainer (Arch): Benoit Favre <benoit.favre@gmail.com>
# Contributor (Arch): 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: