Skip to content

Instantly share code, notes, and snippets.

@sebastianst
Created July 6, 2017 10:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save sebastianst/6807de01ee091dac5273acbb691942b1 to your computer and use it in GitHub Desktop.
Save sebastianst/6807de01ee091dac5273acbb691942b1 to your computer and use it in GitHub Desktop.
PKGBUILD of git-latexdiff AUR Package
# Maintainer: Benjamin Chrétien <chretien at lirmm dot fr>
# Contributor: Sebastian Stammler <base64 -d<<<c2ViQGhkZG4uc3BhY2UK>
pkgname=git-latexdiff
pkgver=1.2.0
pkgrel=1
pkgdesc="Simple but very convenient wrapper around Git and latexdiff"
arch=('any')
url="https://gitlab.com/git-latexdiff/git-latexdiff"
license=('BSD')
depends=('texlive-core' 'texlive-bin' 'git')
source=("v${pkgver}.tar.gz"::"https://gitlab.com/${pkgname}/${pkgname}/repository/archive.tar.gz?ref=v${pkgver}")
sha256sums=('76b19b623749025bde0617776237dbd6763a21d19cd6b6b353765846dac766ec')
build() {
cd "${srcdir}/git-latexdiff-v${pkgver}-"*
make git-latexdiff.1
}
package() {
cd "${srcdir}/git-latexdiff-v${pkgver}-"*
install -m 755 -D git-latexdiff ${pkgdir}/usr/bin/git-latexdiff
install -m 644 -D git-latexdiff.1 ${pkgdir}/usr/share/man/man1/git-latexdiff.1
}
# vim:set ts=2 sw=2 et:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment