summaryrefslogtreecommitdiff
path: root/pcr/aseprite/SRCBUILD
blob: 068438d28e1a9fdedd2f017e193bb295f126fc1d (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
34
35
36
37
38
39
# Maintainer: Jorge Araya Navarro <elcorreo@deshackra.com>

pkgname=aseprite
pkgver=1.1.5.6
pkgrel=4
pkgdesc='Create animated sprites and pixel art'
arch=('x86_64' 'i686')
url='http://www.aseprite.org/'
license=('GPL')
source=("git+https://github.com/aseprite/aseprite.git#tag=v${pkgver}"
        aseprite.desktop)
makedepends=('git')
sha256sums=('SKIP'
            'c9e624b9fd095ebb3eec8220a58d4a9422f39d68477bafcc0047d773814ba0aa')

build() {
  cd ${srcdir}/${pkgname}

  export PKGEXT=.src.tar.xz
  
  # get submodules to have the entire source code 
  git submodule update --init third_party/duktape
  git submodule update --init third_party/gtest
  git submodule update --init third_party/simpleini
  git submodule update --init third_party/pixman
  git submodule update --init src/clip
  git submodule update --init src/flic
}

package() {
  cd ${srcdir}
  export PKGEXT=.src.tar.xz
  export PKGDEST=${startdir}

  mv ${pkgname} ${pkgdir}/

}

# vim:set ts=2 sw=2 et: