summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0d38ec18c8674559d4bc443bbea2e1bcffd91786 (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
# Maintainer: Anna Ivanova <kalterfx@gmail.com>

pkgname=noticeditor-git
pkgver=344.12cc720
pkgrel=1
pkgdesc="The Notice Editor"
arch=('i686' 'x86_64')
url="https://github.com/TemporaryTeam/NoticEditor"
license=("Apache")
depends=('java-runtime' 'java-openjfx')
makedepends=('java-environment' 'java-openjfx' 'gradle')
source=("git+https://github.com/TemporaryTeam/NoticEditor")
md5sums=('SKIP')

pkgver()
{
	cd "$srcdir/NoticEditor"
	echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}

build() {
	cd "$srcdir/NoticEditor"
	make
}

package() {
	cd "$srcdir/NoticEditor"
	make PREFIX=/usr DESTDIR="$pkgdir" install
}