blob: d47ed2aaea07e2013f325b47641f80aa94a199f4 (
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=r17.709508d288055152f42e8197cf9d8ed2bffeb991
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 viu mplayer yt-dlp)
makedepends=(git)
checkdepends=()
optdepends=("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}"
}
|