blob: 4516bd07ad7b8b8ea50993a99cec8a1f45f8a973 (
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: Kohei Suzuki <eagletmt@gmail.com>
pkgname=yaskkserv
pkgver=1.1.1
pkgrel=1
pkgdesc='Yet Another SKK Japanese input method dictionary server'
arch=('x86_64' 'i686')
url='http://umiushi.org/~wac/yaskkserv/'
license=('GPL')
depends=('openssl')
makedepends=('perl' 'skk-jisyo')
source=(http://umiushi.org/~wac/$pkgname/$pkgname-$pkgver.tar.xz
yaskkserv.socket
yaskkserv.service)
build() {
cd "$srcdir/$pkgname-$pkgver"
LC_ALL=C ./configure --prefix=/usr --enable-google-japanese-input \
--disable-gnutls --enable-openssl --enable-systemd
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make PREFIX="$pkgdir/usr" install_all
mv "$pkgdir/usr/sbin/"* "$pkgdir/usr/bin/"
rmdir "$pkgdir/usr/sbin"
mkdir -p "$pkgdir/usr/share/skk"
"$pkgdir/usr/bin/yaskkserv_make_dictionary" /usr/share/skk/SKK-JISYO.L "$pkgdir/usr/share/skk/SKK-JISYO.L.yaskkserv"
local _systemd_dir="$pkgdir/usr/lib/systemd/system"
mkdir -p "$_systemd_dir"
install -m644 "$srcdir/yaskkserv.socket" "$_systemd_dir/"
install -m644 "$srcdir/yaskkserv.service" "$_systemd_dir/"
}
# vim:set ts=2 sw=2 et:
sha512sums=('5f421ef684011aed716e929b90ab98fb1703abe707928847d79a34815750d59df59f4dec8bef6e8ce399340aedb32688d6dd8a5d02ba9372a935ec8f1adffc29'
'4c169aa6226963a719a5f22182203820f1bc1ed182e247aff575d0f7ee097244d959df6aaf68d0059937f155e0ad1c975281b7cc685fb08bbd4c139b57b30c09'
'253da9a8d9ee60abde0d1b427c7307030eef87320a6a2c695b72101a1c5127caa0887db9a5f0a2b89a17e666f58ca296d798a94511cbb35e783d7c30cf30e3dd')
|