Skip to content

Instantly share code, notes, and snippets.

@SammysHP
Last active January 2, 2016 22:39
Show Gist options
  • Save SammysHP/8371041 to your computer and use it in GitHub Desktop.
Save SammysHP/8371041 to your computer and use it in GitHub Desktop.
pdfpc-git
# Maintainer: David Vilar <[email protected]>
pkgname=pdfpc-git
pkgver=20140111
pkgrel=1
pkgdesc="A presenter console with multi-monitor support for PDF files"
arch=('i686' 'x86_64')
url="http://davvil.github.com/pdfpc"
license=('GPL')
depends=('gtk2' 'poppler-glib' 'librsvg' 'libgee06')
makedepends=('git' 'cmake>=2.6' 'vala>=0.16')
conflicts=('pdfpc')
source=("$pkgname"::'git://github.com/davvil/pdfpc.git'
'vala'::'git://github.com/jakobwesthoff/Vala_CMake.git')
md5sums=('SKIP'
'SKIP')
prepare() {
cd "$srcdir/$pkgname"
git submodule init
git config submodule.cmake/Vala_CMake.url "$srcdir/vala"
git submodule update
}
build() {
cd "$srcdir/$pkgname"
[[ -d build ]] || mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX="/usr/" -DSYSCONFDIR="/etc" -DCMAKE_BUILD_TYPE=Release ../
make
}
package() {
cd "$srcdir/$pkgname/build"
make DESTDIR="$pkgdir" install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment