blob: d3ed77145d30b5fd204bbcf60374742ed5728835 (
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: Yamada Hayao <development@fascode.net>
pkgname=lightdm-webkit2-theme-alter
_pkgname=lightdm-webkit2-theme-alter
pkgver=3.0
pkgrel=1
pkgdesc="AlterLinux webkit2 greeter theme"
arch=('any')
url=https://github.com/SereneTeam/lightdm-webkit2-theme-alter
license=('MIT')
depends=('lightdm' 'lightdm-webkit2-greeter')
optdepends=()
source=("https://github.com/SereneTeam/${_pkgname}/archive/v${pkgver}.zip")
md5sums=('3bed423ff4eb7d88e4ab47b546e51f59')
conflicts=('lightdm-webkit2-theme-alter-git')
remove () {
local _list _file
_list=($(echo "$@"))
for _file in "${_list[@]}"; do
if [[ -f "${_file}" ]]; then
rm -f "${_file}"
elif [[ -d ${_file} ]]; then
rm -rf "${_file}"
fi
done
}
package () {
mkdir -p "${pkgdir}/usr/share/lightdm-webkit/themes/alter"
mv "${srcdir}/${pkgname}-${pkgver}/"* "${pkgdir}/usr/share/lightdm-webkit/themes/alter"
}
|