diff options
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 29 | ||||
-rw-r--r-- | zentaoclient.desktop | 16 | ||||
-rw-r--r-- | zentaoclient.png | bin | 0 -> 20301 bytes |
5 files changed, 67 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..122c3fed0668 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = zentaoclient + pkgdesc = 禅道客户端 zentao client + pkgver = 2.5.7 + pkgrel = 1 + url = https://www.zentao.net/ + arch = x86_64 + license = custom: commercial + provides = zentaoclient + conflicts = zentaoclient + source = zentaoclient.desktop + source = zentaoclient.png + sha256sums = 029000a6c31a3fd7b19749d198a8eaaaab8f5ca364fed617dfdb7b964311c0b2 + sha256sums = fcfe83cb5752e1ce7032325aeb817b6649b504a72ae0a5de24a34d4632ae7330 + source_x86_64 = http://dl.cnezsoft.com/zentaoclient/2.5.7/zentaoclient.linux64.zip + sha256sums_x86_64 = 053f6016ded1923cf7bd59aa782a5c4e40e2d59e5999ea335fce11249a0b4ccd + +pkgname = zentaoclient + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..b70bb195139c --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +zentaoclient.linux* +zentaoclient-** +src +pkg diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0964754cf3f4 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Sooo <305784840@qq.com> +pkgname=zentaoclient # '-bzr', '-git', '-hg' or '-svn' +pkgver=2.5.7 +pkgrel=1 +pkgdesc="禅道客户端 zentao client" +arch=(x86_64) +url="https://www.zentao.net/" +license=('custom: commercial') +provides=(${pkgname}) +conflicts=(${pkgname}) + +source=(${pkgname}.desktop ${pkgname}.png) +source_x86_64=(http://dl.cnezsoft.com/${pkgname}/${pkgver}/${pkgname}.linux64.zip) +sha256sums=(029000a6c31a3fd7b19749d198a8eaaaab8f5ca364fed617dfdb7b964311c0b2 + fcfe83cb5752e1ce7032325aeb817b6649b504a72ae0a5de24a34d4632ae7330) +sha256sums_x86_64=(053f6016ded1923cf7bd59aa782a5c4e40e2d59e5999ea335fce11249a0b4ccd) + +package() { + install -d "${pkgdir}/opt/${pkgname}" + install -d "${pkgdir}/usr/bin" + install -d "${pkgdir}/usr/share/applications" + install -d "${pkgdir}/usr/share/icons" + + install -m644 "${srcdir}/${pkgname}.png" "${pkgdir}/usr/share/icons/${pkgname}.png" + install -m644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop" + + cp -r "${srcdir}/${pkgname}"/* "${pkgdir}/opt/${pkgname}" -R + ln -s /opt/${pkgname}/${pkgname} "${pkgdir}"/usr/bin/${pkgname} +} diff --git a/zentaoclient.desktop b/zentaoclient.desktop new file mode 100644 index 000000000000..744c5a36f084 --- /dev/null +++ b/zentaoclient.desktop @@ -0,0 +1,16 @@ +[Desktop Entry] +Exec=/opt/zentaoclient/zentaoclient +Icon=zentaoclient +Terminal=false +Type=Application +Name=zentao +Name[zh_CN]=禅道 +Name[zh_HK]=禪道 +Name[zh_TW]=禪道 +Comment=zentao client +Comment[zh_CN]=禅道客户端 +Comment[zh_HK]=禪道用戶端 +Comment[zh_TW]=禪道用戶端 +Categories=Office;Chat;Network;Development;GTK; +StartupNotify=true +StartupWMClass=zentaoclient diff --git a/zentaoclient.png b/zentaoclient.png Binary files differnew file mode 100644 index 000000000000..616d8ea98f17 --- /dev/null +++ b/zentaoclient.png |