blob: 1340bea951b7aeda4392fee95c3bb4445505ffae (
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
|
# Maintainer: Jingrong Chen <crazyboycjr at gmail dot com>
pkgname=alilang
_pkgname=${pkgname//-/_}
pkgver=1.0.0
pkgrel=3
pkgdesc="Alilang is an integrated software for access to Alibaba intranet. https://alilang.alibaba-inc.com/portal/help.htm?language=en"
arch=('x86_64')
url="https://alilang.alibaba-inc.com"
license=('none')
depends=('qtwebkit' 'openssl')
source=("https://alilang.alibaba-inc.com/alilang/alilang.deb")
pkgver() {
cd "${srcdir}"
tar xzvf control.tar.gz -C "${srcdir}" 2>&1 >/dev/null
echo "$(sed -ne 's/^Version: \([^-]\+\).*/\1/p' ${srcdir}/control)"
}
install="${_pkgname}.install"
package() {
tar xJvf data.tar.xz -C "${pkgdir}"
sed -ine 's/^Exec=.*/Exec=gksu QT_X11_NO_MITSHM=1 alilang/' "${pkgdir}"/usr/share/applications/alilang.desktop
find "${pkgdir}" -type d | xargs chmod 755
ln -fs /usr/bin/AliLangAgent "${pkgdir}"/usr/bin/alilang
mkdir -p "${pkgdir}"/etc/init.d
ln -fs /usr/bin/AliLangAgent "${pkgdir}"/etc/init.d/alilang
find "${pkgdir}" -type f | xargs chown root:root
}
md5sums=('05c59383a8c7c8f27f55ccd37c7e3558')
|