summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 14dc4855af67b5bff863931acaab501c21a4f2e3 (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
40
41
42
43
# Maintainer: Philip Goto <philip.goto@gmail.com>

pkgname=akira-git
pkgver=r166.144fd19
pkgrel=1
pkgdesc="Native Linux App for UI and UX Design built in Vala and Gtk"
arch=(x86_64)
url="https://github.com/Alecaddd/Akira"
license=(GPL3)
depends=(granite)
makedepends=(granite
             gtksourceview3
             meson
             vala)
#checkdepends=(vala-lint-git)
provides=(akira)
source=("git+https://github.com/Alecaddd/Akira.git")
sha256sums=(SKIP)

pkgver() {
  cd Akira
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

prepare() {
  mkdir build
}

build() {
  cd build
  meson --prefix=/usr --buildtype=release ../Akira
  ninja
}

#check() {
#  cd build
#  ninja test
#}

package() {
  cd build
  DESTDIR="$pkgdir" ninja install
}