-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPKGBUILD
60 lines (55 loc) · 1.76 KB
/
PKGBUILD
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Maintainer: Quincy Nyan <[email protected]>
pkgname='hentaifetch'
pkgver=0.4.2
pkgrel=1
pkgdesc="Neofetch but with hentai"
arch=('x86_64')
url="https://github.com/quincynyan/hentaifetch"
license=('GPL')
depends=('neofetch' 'chafa' 'imagemagick' 'jq' 'curl' 'bash' 'sed' 'grep')
makedepends=('git')
checkdepends=()
optdepends=('lolcat: Make your terminal output rainbow colored'
'w3m: Image support'
'w3m-img: sometimes bundled together with w3m'
'iTerm2: Image support is built into Terminology, iTerm2 and kitty, and doesnt require w3m-img.'
'Terminology: Image support is built into Terminology, iTerm2 and kitty, and doesnt require w3m-img.'
'kitty: Image support is built into Terminology, iTerm2 and kitty, and doesnt require w3m-img.'
'libsixel: Image support for kitty'
'termpix: Image support for kitty'
'pixterm: Image support for kitty'
'catimg: Image support for kitty'
'jp2a: Image support for kitty'
'caca-utils: Image support for kitty'
'libcaca: Image support for kitty')
provides=('hentaifetch')
conflicts=()
changelog=CHANGELOG.md
# source=("$pkgname-$pkgver.tar.gz"
# "$pkgname-$pkgver.patch")
source=("hentaifetch::git://github.com/quincynyan/hentaifetch.git")
noextract=()
md5sums=('SKIP')
pkgver() {
cd "$pkgname"
printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}
# prepare() {
# cd "$pkgname-$pkgver"
# patch -p1 -i "$srcdir/$pkgname-$pkgver.patch"
# }
build() {
cd "$pkgname"
./configure --prefix=/usr
make
}
package() {
cd "$pkgname"
install -Dm755 hentaifetch "$pkgdir/usr/bin/hentaifetch"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
}
# package() {
# cd "$pkgname-$pkgver"
# make DESTDIR="$pkgdir/" install
# }