blob: 6b5e13d23e03a40b2e0f152ce13060c520a9e784 (
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
|
#Maintainer: affe-ali <affe-ali@web.de>
#Co-Maintainer: Jannik Hauptvogel <jannikhv@gmail.com>
pkgname=gydl-git
pkgver=r111.ae2d296
pkgrel=1
pkgdesc="Gydl (Graphical Youtube-dl) is a GUI wrapper around the already existing youtube-dl program."
arch=('any')
url="https://github.com/JannikHv/gydl"
license=('GPL2')
depends=('python' 'gtk3' 'python-gobject' 'youtube-dl')
makedepends=('git' 'meson')
conflicts=('gydl')
source=("$pkgname"::"git+https://github.com/JannikHv/gydl.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$pkgname"
# Remove any potential residual build files
rm -rf build
meson build --prefix=/usr
}
package() {
cd "$srcdir/$pkgname/build"
env DESTDIR="$pkgdir" ninja install
install -D ../LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
|