diff options
author | jon noble | 2019-10-19 19:39:21 +0100 |
---|---|---|
committer | jon noble | 2019-10-19 19:39:21 +0100 |
commit | de21c0ff4b20b9c093dc5a80234f11ec76c27e30 (patch) | |
tree | 66531fa0a6c8cf7c4758b3fc90229907a8f7a4e0 | |
download | aur-de21c0ff4b20b9c093dc5a80234f11ec76c27e30.tar.gz |
Initialisation of package
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 42 |
2 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f628204dbba5 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = chestnut + pkgdesc = An open-source NLE video editor + pkgver = 0.0.5 + pkgrel = 1 + url = https://github.com/jonno85uk/chestnut + arch = x86_64 + license = GPL2 + makedepends = git + depends = ffmpeg + depends = qt5-base + provides = chestnut + source = chestnut::git+https://github.com/jonno85uk/chestnut.git#commit=4c90e4e + md5sums = SKIP + +pkgname = chestnut + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..09b476b18141 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Jon Noble <jonnobleuk@gmail.com> +pkgname=chestnut +pkgver=0.0.5 +pkgrel=1 +pkgdesc="An open-source NLE video editor " +arch=(x86_64) +url="https://github.com/jonno85uk/chestnut" +license=('GPL2') +groups=() +depends=('ffmpeg' 'qt5-base') +makedepends=('git') +provides=("${pkgname%}") +conflicts=() +replaces=() +backup=() +options=() +install= +source=('chestnut::git+https://github.com/jonno85uk/chestnut.git#commit=4c90e4e') +noextract=() +md5sums=('SKIP') + +prepare() { + cd "$srcdir/chestnut" + qmake CONFIG+=release + +} + +build() { + cd "$srcdir/chestnut" + CORES=$(cat /proc/cpuinfo | grep -c "vendor_id") + make -j${CORES} -l${CORES} +} + +check() { + cd "$srcdir" +} + +package() { + cd "$srcdir/chestnut" + strip app/main/build/release/chestnut + make INSTALL_ROOT=${pkgdir} install +} |