blob: a3e606836d9d225fbb5070cff84878a66dfe3cae (
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
44
45
46
47
48
49
50
51
|
# Maintainer: Philip Goto <philip.goto@gmail.com>
pkgname=elementary-code-git
pkgver=3.0.2.r114.ge709b455
pkgrel=1
pkgdesc="Code editor designed for elementary OS"
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
url="https://github.com/elementary/code"
license=(GPL3)
depends=(editorconfig-core-c
granite
gtksourceview3
gtkspell3
libgit2-glib
libpeas
vala
vte3
webkit2gtk
zeitgeist)
makedepends=(editorconfig-core-c
git
gobject-introspection
granite
gtksourceview3
libgit2-glib
libpeas
meson
vala
zeitgeist)
provides=(elementary-code)
conflicts=(elementary-code)
source=("git+https://github.com/elementary/code.git")
md5sums=('SKIP')
pkgver() {
cd code
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
arch-meson code build
ninja -C build
}
check() {
ninja -C build test
}
package() {
DESTDIR="$pkgdir/" ninja -C build install
}
|