mirror of
https://github.com/vikstrous/pirate-get
synced 2025-04-20 01:28:38 +02:00
check in the official PKGBUILD file
This commit is contained in:
parent
a62a963614
commit
b49e045696
22
publish/arch/PKGBUILD
Normal file
22
publish/arch/PKGBUILD
Normal file
@ -0,0 +1,22 @@
|
||||
# Maintainer: Viktor Stanchev <me aatt viktorstanchev doot com>
|
||||
|
||||
pkgname=pirate-get
|
||||
pkgver=0.1.0
|
||||
pkgrel=1
|
||||
pkgdesc='A command line interface for the Pirate Bay'
|
||||
arch=('any')
|
||||
url='https://github.com/vikstrous/pirate-get/'
|
||||
license=('AGPL')
|
||||
depends=('python2')
|
||||
source=('https://github.com/vikstrous/pirate-get/archive/v'${pkgver}'.zip')
|
||||
sha256sums=('3bf17f1a83c0f9826dcf4e1adba34e2be47e886c0f5578046f8e9bb68c3d42cd')
|
||||
|
||||
package() {
|
||||
mkdir -p ${pkgdir}/usr/bin/
|
||||
cp ${pkgname}-${pkgver}/${pkgname}.py ${pkgdir}/usr/bin/${pkgname}
|
||||
sed -i 's|!/usr/bin/env python|!/usr/bin/env python2|' ${pkgdir}/usr/bin/${pkgname}
|
||||
}
|
||||
|
||||
check() {
|
||||
stat ${pkgname}-${pkgver}/${pkgname}.py
|
||||
}
|
Loading…
Reference in New Issue
Block a user