blob: fbb57caf1f7a72d77f8a9e770eac1e077dcc2784 (
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
35
36
37
38
39
40
41
|
_pkgname=minq_xvideos
pkgname="${_pkgname}-git"
pkgver=r31.550fa9be1a00551e3b59b4107b5f23737c8c251b
pkgrel=1
epoch=
pkgdesc="Explore xvideos in your terminal! Videos can be either played in the terminal or in any external video player. Undesirable videos can be blocked."
arch=(x86_64 i686)
url="https://github.com/kuche1/${_pkgname}.git"
license=('GPL')
groups=()
depends=(python python-beautifulsoup4 imagemagick viu yt-dlp mplayer)
makedepends=(git)
checkdepends=()
optdepends=("wezterm: terminal that supports sixel", "vlc: an alternative video player")
provides=("${_pkgname}")
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("git+$url")
noextract=()
md5sums=("SKIP")
validpgpkeys=()
pkgver() {
cd "${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse HEAD)"
}
package() {
cd "${_pkgname}"
mkdir -p "${pkgdir}/opt/${pkgname}"
cp -rf * "${pkgdir}/opt/${pkgname}"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
mkdir -p "${pkgdir}/usr/bin/"
ln -s "/opt/${pkgname}/${_pkgname}.py" "${pkgdir}/usr/bin/${_pkgname}"
}
|