blob: 09c9a42657156ac34c798727cc7b77b3b90f31c3 (
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
# Contributor: Kohei Suzuki <eagletmt@gmail.com>
# Contributor: Daniel Wallace < danielwallace at gtmanfred dot com >
# Contributor: Yoel Lion <yoel3ster at gmail dot com>
# Contributor: Netanel Shine <Netanelshine@gmail.com>
# Contributor: tobias <tobias@archlinux.org>
# Contributor: Gatekeeper <cool_work@yahoo.com>
# Maintainer: aksr <aksr at t-com dot me>
pkgname=mlterm
pkgver=3.9.3
pkgrel=2
pkgdesc="Multi Lingual TERMinal emulator on X"
url="http://mlterm.sourceforge.net/"
arch=('i686' 'x86_64')
license=('BSD')
depends=('gtk2' 'gtk3' 'm17n-lib' 'libutempter')
makedepends=('intltool' 'librsvg' 'ncurses')
options=(!libtool)
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz $pkgname.desktop)
md5sums=('6a17f57aa5083135e974bd6459aebea0'
'd019c571f28c7b765610e219d9e52e35')
sha1sums=('2c60714141ab98b58fad41b11e12d2d0e1a598be'
'6a2c46265b0751ccf016e7521fdf48d1f9ac459f')
sha256sums=('b5b76721391de134bd64afb7de6b4256805cf2fc883a2bf2e5d29602ac1b50d9'
'b254755e320a94a05d3d745cd582a5b91f5ed33fd69396feca0511cf5c6b3ce0')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr --libexecdir=/usr/lib/mlterm --sysconfdir=/etc --mandir=/usr/share/man \
--enable-fribidi \
--enable-optimize-redrawing \
--enable-utmp \
--enable-m17nlib \
--disable-static \
--with-type-engines=xft,cairo,xcore \
--with-gtk=2.0,3.0 \
--with-scrollbars \
--with-tools=mlconfig,mlterm-zoom,mlterm-menu,mlclient,mlcc,mlfc \
--with-imagelib=gdk-pixbuf
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
echo 'conf_menu_path_2 = mlterm-zoom' >> "$pkgdir/etc/mlterm/main"
# install some freedesktop.org compatibility
install -D -m644 "$srcdir/$pkgname.desktop" \
"$pkgdir/usr/share/applications/$pkgname.desktop"
sed -e 's:mlterm:mlclient:' \
< "$pkgdir/usr/share/applications/$pkgname.desktop" \
> "$pkgdir/usr/share/applications/mlclient.desktop"
install -D -m644 "contrib/icon/$pkgname-icon.svg" \
"$pkgdir/usr/share/pixmaps/$pkgname.svg"
install -D -m644 "contrib/icon/$pkgname-icon-trans.svg" \
"$pkgdir/usr/share/pixmaps/mlclient.svg"
# finally we render a png as fallback for not svg aware menu applications
# Attention: always make sure you check the dimensions of the source-svg,
# you can read the dimensions via inkscapes export funktion
cd "$pkgdir/usr/share/pixmaps"
rsvg-convert -w 48 -h 38 -f png -o mlterm.png mlterm.svg
rsvg-convert -w 48 -h 38 -f png -o mlclient.png mlclient.svg
}
|