blob: 7ddbc4baecc1088cb856cad67a87b7e75ab37d0a (
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
|
# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
_pkgname=loop
pkgname="microsoft-${_pkgname}-pake"
_appname="com-tw93-${_pkgname}"
pkgver=2.0.0
pkgrel=3
pkgdesc="Use Pake to package Microsoft Loop.Microsoft Loop is about people—people who want to create together with ease, no matter where they are or what tools they use. "
arch=('x86_64')
url="https://www.microsoft.com/en-us/microsoft-loop"
_ghurl="https://github.com/tw93/Pake"
license=('MIT')
conflicts=("${_pkgname}")
depends=(
'gtk3'
'webkit2gtk'
'openssl-1.1'
)
source=(
"${_pkgname}-${pkgver}.deb::${_ghurl}/releases/download/V${pkgver}/Loop_x86_64.deb"
"LICENSE-${pkgver}::https://raw.githubusercontent.com/tw93/Pake/V${pkgver}/LICENSE"
)
sha256sums=('29d8bf31552b7e1332ebc4e80aeea5cf0ad38c3dd2c86ea7e39fa98c70fa4216'
'a8cfae3105018e6018e5a046977a9919c0e975d8d5eab79fd19339182211f058')
build() {
bsdtar -xf "${srcdir}/data."*
sed "s|${_appname}|${pkgname%-pake}|g" -i "${srcdir}/usr/share/applications/${_appname}.desktop"
}
package() {
install -Dm755 "${srcdir}/usr/bin/${_appname}" "${pkgdir}/usr/bin/${pkgname%-pake}"
install -Dm644 "${srcdir}/usr/share/applications/${_appname}.desktop" "${pkgdir}/usr/share/applications/${pkgname%-pake}.desktop"
install -Dm644 "${srcdir}/usr/share/icons/hicolor/512x512/apps/${_appname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname%-pake}.png"
install -Dm644 "${srcdir}/LICENSE-${pkgver}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|