Skip to content

Commit

Permalink
Add PKGBUILD for Arch
Browse files Browse the repository at this point in the history
  • Loading branch information
rrooij committed Feb 2, 2016
1 parent ae4db67 commit 13e09e5
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions tools/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
pkgname=youtube-dl-qt-git
_gitname=youtube-dl-qt
pkgver=64.gae4db67
pkgrel=1
pkgdesc="Qt frontend for youtube-dl"
arch=('i686' 'x86_64')
url="https://github.com/rrooij/youtube-dl-qt"
license=('GPLi3')
groups=()
depends=('qt5-base' 'youtube-dl')
makedepends=('git' 'make')
checkdepends=()
optdepends=('ffmpeg: for certain youtube-dl functionality')
provides=('youtube-dl-qt')
options=()
install=
changelog=
source=("git+https://github.com/rrooij/youtube-dl-qt")
noextract=()
md5sums=('SKIP')

pkgver() {
cd "$srcdir/$_gitname"
echo "$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"
}

build() {
cd "$srcdir/$_gitname"
qmake -config release
make
}

package() {
cd "$srcdir/$_gitname"
make DESTDIR="$pkgdir/" install
}

0 comments on commit 13e09e5

Please sign in to comment.