blob: 1078be287b906390066ab2e0844368d5e231bf4a (
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
34
|
# Maintainer: dtluna <dtluna at waifu dot club>
pkgname='gorgeous'
pkgver='1.4.0'
pkgrel=2
pkgdesc='CLI RSS feed reader'
url='https://git.dtluna.net/dtluna/gorgeous'
arch=('any')
license=('custom:WTFPL')
depends=()
makedepends=('go')
optdepends=(
'htmltui: utility to view content'
)
conflicts=('gorgeous-bin')
source=("${url}/archive/v${pkgver}.tar.gz")
sha256sums=('e1d41ce1e63c0ec7d6b58721b8e9defd521d864f5f4ddf363a0f6d6248866f1b')
build() {
cd $srcdir/$pkgname
go build -o $pkgname
}
package() {
# Bin
rm -f "${pkgdir}/usr/bin/${pkgname}"
install -Dm755 "${srcdir}/${pkgname}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
# License
install -Dm644 "${srcdir}/${pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|