blob: 11a8b25f8678c7e77b980f97d17a8265c1f696e2 (
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
|
# Maintainer: witt <1989161762 at qq dot com>
pkgname=typora-theme-phycat
pkgver=1.2.1
pkgrel=1
pkgdesc="物理猫Typora主题"
arch=('any')
url="https://sumruler.github.io/typora-theme-phycat"
license=('custom')
conflicts=("typora-theme-phycat-git" "typora-theme-phycat-bin")
provides=("typora-theme-phycat")
makedepends=(
'unzip'
)
optdepends=(
'typora: Typora editor'
'typora-free: Free typora editor v0.11.18'
)
source=(
"${pkgname}-${pkgver}.zip::https://github.com/sumruler/typora-theme-phycat/releases/download/v${pkgver}/typora-theme-phycat.zip"
)
sha256sums=('13e5640be04372618dd4cf3a8ff36e89d570fce09f94f4ccb42040602cc9e689')
package() {
# 以下两行主要为了解决权限不一致问题,实际可以不要
install -m700 -d "${pkgdir}/${HOME}"
install -m700 -d "${pkgdir}/${HOME}/.config/Typora"
install -Dm644 "${srcdir}/"*.css -t "${pkgdir}/${HOME}/.config/Typora/themes"
install -Dm644 "${srcdir}/phycat/"* -t "${pkgdir}/${HOME}/.config/Typora/themes/phycat"
# install -Dm644 "${srcdir}/${pkgname%-git}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
|