blob: 15800babe949e644b0c3c29a8b7781eedef50c64 (
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
|
# Maintainer: Mike Tzou <github27049215-aru AT yahoo.com.tw>
pkgname=chewing-editor
pkgver=0.0.2
pkgrel=1
pkgdesc="Cross platform chewing user phrase editor"
arch=('i686' 'x86_64')
url="http://chewing.im"
license=('GPL' 'BSD')
depends=('libchewing' 'qt5-base' 'hicolor-icon-theme')
makedepends=('cmake' 'qt5-tools')
install=$pkgname.install
source=("https://github.com/chewing/$pkgname/archive/$pkgver.tar.gz")
sha256sums=('1ce0a98d7cbabe3d03d8dcc9bd1b0a05b8dd37d069b60cbf83bd4cef99939367')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
mkdir build
}
build() {
cd "$srcdir/$pkgname-$pkgver/build"
cmake ../ -DCMAKE_INSTALL_PREFIX='/usr'
make
}
check() {
cd "$srcdir/$pkgname-$pkgver/build"
./run-test
}
package() {
cd "$srcdir/$pkgname-$pkgver/build"
make DESTDIR="$pkgdir" install
install -Dm644 ../COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
|