blob: c9f45ae8098739cc0f0430d8bc830d590f8033c0 (
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
|
# Contributor: Balló György <ballogyor+arch at gmail dot com>
pkgname=video-downloader
pkgver=0.2.9
pkgrel=1
pkgdesc="GTK application to download videos from websites like YouTube and many others (based on youtube-dl)"
arch=(any)
url="https://github.com/Unrud/video-downloader"
license=('GPL3')
depends=(gtk3 python-gobject youtube-dl)
makedepends=(git meson)
_commit=322f54dbd5b9c9acaa43cff40471d876b2a22dcf # tags/0.2.9
source=("git+https://github.com/Unrud/video-downloader#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd $pkgname
}
build() {
arch-meson $pkgname build
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
DESTDIR="$pkgdir" meson install -C build
}
|