diff options
author | kuche1 | 2021-11-09 10:36:50 +0200 |
---|---|---|
committer | kuche1 | 2021-11-09 10:36:50 +0200 |
commit | a59d037efcec1cdd1580ffa4c4fbb166aee104b6 (patch) | |
tree | 5fcc41995a4f29c7b8e9825c5be685890576978c | |
parent | fb85a15f626a04825c845204db17c7f2e15707ca (diff) | |
download | aur-a59d037efcec1cdd1580ffa4c4fbb166aee104b6.tar.gz |
better
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 18 |
2 files changed, 12 insertions, 10 deletions
@@ -1,6 +1,6 @@ pkgbase = minq_xvideos-git - pkgdesc = Watch xvideos in your terminal! Undesirable videos can be blocked! - pkgver = r13.d983a5287e2bb755d0410ce54b3ca2e7160aab46 + pkgdesc = Watch xvideos in your terminal! Undesirable videos can be blocked. + pkgver = r15.0af06f627bbb7cfbc90313b2df459841ec94b5f0 pkgrel = 1 url = https://github.com/kuche1/minq_xvideos.git arch = x86_64 @@ -1,19 +1,20 @@ # Maintainer: Your Name <youremail@domain.com> -pkgname=minq_xvideos-git -pkgver=r13.d983a5287e2bb755d0410ce54b3ca2e7160aab46 +_pkgname=minq_xvideos +pkgname="${_pkgname}-git" +pkgver=r15.0af06f627bbb7cfbc90313b2df459841ec94b5f0 pkgrel=1 epoch= -pkgdesc="Watch xvideos in your terminal! Undesirable videos can be blocked!" +pkgdesc="Watch xvideos in your terminal! Undesirable videos can be blocked." arch=(x86_64 i686) -url="https://github.com/kuche1/minq_xvideos.git" +url="https://github.com/kuche1/${_pkgname}.git" license=('GPL') groups=() depends=(python python-beautifulsoup4 viu mplayer yt-dlp) makedepends=(git) checkdepends=() optdepends=() -provides=(minq_xvideos) +provides=("${_pkgname}") conflicts=() replaces=() backup=() @@ -31,16 +32,17 @@ pkgver() { } check() { - cd "minq_xvideos" + cd "${_pkgname}" python3 --version + echo "========== ${_pkgname}" } package() { - cd "minq_xvideos" + 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}/minq_xvideos.py" "${pkgdir}/usr/bin/minq_xvideos" + ln -s "/opt/${pkgname}/${_pkgname}.py" "${pkgdir}/usr/bin/${_pkgname}" } |