blob: 95c207dda4248bfafbdb29199f72a74ece90a6e7 (
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
|
# Maintainer: Ewen Le Bihan <hey@ewen.works>
pkgname=ffcss
pkgver=0.2.0
pkgrel=1
pkgdesc="A CLI interface to apply and configure FirefoxCSS themes"
arch=('x86_64' 'i686')
url="https://github.com/ewen-lbh/ffcss"
license=("GPL-3.0")
provides=("${pkgname}")
makedepends=('git' 'go>=1.14' 'make')
conflicts=("${pkgname}-git" "${pkgname}-bin")
depends=('bash' 'firefox' 'git' 'wget')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha256sums=('SKIP')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
make
}
package() {
rm -f "${pkgdir}/usr/bin/${pkgname}"
cd "${srcdir}/${pkgname}-${pkgver}"
install -Dm755 ffcss "${pkgdir}/usr/bin/${pkgname}"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
mkdir -p ~/.config/ffcss/themes
cp themes/*.yaml ~/.config/ffcss/themes/
}
|