-
Notifications
You must be signed in to change notification settings - Fork 0
/
PKGBUILD
27 lines (24 loc) · 903 Bytes
/
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
# Maintainer: Mona Panchaud <github at mpan dot ch>
_pkgbasename=switchtube-dl
options=(!strip) # Otherwise all libraries will be stripped from the executable file
pkgname=$_pkgbasename-bin
pkgver=1.0.0
pkgrel=1 # Increment when PKGBUILD is changed
pkgdesc="Simple CLI for downloading videos from SwitchTube"
arch=('x86_64')
url="https://github.com/panmona/switchtube-dl"
license=('MIT')
depends=('gcc-libs' 'zlib')
makedepends=()
provides=('switchtube-dl')
source=("$pkgname-$pkgver.tar.gz::https://github.com/panmona/switchtube-dl/releases/download/$pkgver/$_pkgbasename.$pkgver.linux-x64.tar.gz")
sha256sums=('SKIP')
package() {
mkdir -p "$pkgdir/usr/share"
install -Dm755 -t "$pkgdir/usr/bin" \
$_pkgbasename
install -Dm644 ./LICENSE \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 ./README.md \
"$pkgdir/usr/share/doc/$pkgname/README.md"
}