Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jesse McClure
committed
Feb 16, 2015
1 parent
dad90dd
commit 28cc73a
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Maintainer: Jesse McClure AKA "Tribly" <jmcclure [at] cns [dot] umass [dot] edu> | ||
_gitname="slider" | ||
pkgname="${_gitname}-git" | ||
pkgver=4.0 | ||
pkgrel=1 | ||
pkgdesc="PDF presentation tool" | ||
arch=('x86_64' 'i686') | ||
url="https://github.com/TrilbyWhite/Slider" | ||
license=('GPL3') | ||
depends=('poppler-glib' 'libxrandr') | ||
makedepends=('git') | ||
source=("${_gitname}::git://github.com/TrilbyWhite/Slider.git") | ||
sha256sums=('SKIP') | ||
|
||
pkgver() { | ||
cd "${srcdir}/${_gitname}" | ||
echo 4.$(git rev-list --count HEAD).$(git describe --always ) | ||
} | ||
|
||
build() { | ||
cd "${srcdir}/${_gitname}" | ||
make | ||
} | ||
|
||
package() { | ||
cd "${srcdir}/${_gitname}" | ||
make DESTDIR="${pkgdir}" PREFIX=/usr install | ||
} |