summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authoraksr2015-06-23 09:46:24 +0200
committeraksr2015-06-23 09:46:24 +0200
commita1559876ff1f18076f7cc8ad4b254dcd85f10a70 (patch)
treec17ef22f8885e175ebd809d293fcebd84bac8033 /PKGBUILD
downloadaur-a1559876ff1f18076f7cc8ad4b254dcd85f10a70.tar.gz
Start.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD67
1 files changed, 67 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..98ed98e84a55
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,67 @@
+# 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.5.0
+pkgrel=1
+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)
+
+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 \
+ --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
+}
+
+md5sums=('cab773e2be8042f1222112335b890259'
+ 'd019c571f28c7b765610e219d9e52e35')
+sha1sums=('3660caec5be87a83279146209415324e42e84bf9'
+ '6a2c46265b0751ccf016e7521fdf48d1f9ac459f')
+sha256sums=('dedb211c52a8cdaa8891920da0a4f08f4b72f7b3514a5acb038b38419b24e4d3'
+ 'b254755e320a94a05d3d745cd582a5b91f5ed33fd69396feca0511cf5c6b3ce0')
+