blob: 15c322f64de092f29d736f9a2941cf8e47252ea6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
_pkgname=transhell
pkgname="spark-${_pkgname}"
pkgver=1.1
pkgrel=5
pkgdesc="让bash也可以国际化 let bash shell i18n"
arch=("x86_64")
url="https://gitee.com/shenmo7192/transhell"
license=('LGPL-3.0-only')
depends=('sh')
source=("${pkgname}-${pkgver}.deb::${url}/releases/download/${pkgver}/${_pkgname}_${pkgver}_all.deb")
sha256sums=('0974adcd5569a0b2b6a14cebeb242506a75d713a6597e52c98eb8356cd255502')
build() {
bsdtar -xf "${srcdir}/data."*
}
package() {
install -Dm755 "${srcdir}/opt/bashimport/${_pkgname}.sh" -t "${pkgdir}/opt/bashimport"
install -Dm755 -d "${pkgdir}/opt/durapps/${_pkgname}"
ln -sf "/opt/bashimport/${_pkgname}.sh" "${pkgdir}/opt/durapps/${_pkgname}/${_pkgname}.sh"
}
|