diff options
author | Alexandre Leuck | 2015-06-09 10:15:45 -0300 |
---|---|---|
committer | Alexandre Leuck | 2015-06-09 10:15:45 -0300 |
commit | 2ac217c6e34b3e3638a998b3434b2aa87e10333e (patch) | |
tree | eb84428c0dff907d586b356d7b6afb9181c67c13 | |
download | aur-2ac217c6e34b3e3638a998b3434b2aa87e10333e.tar.gz |
Initial Import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 33 | ||||
-rw-r--r-- | iiufrgs.install | 6 |
3 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b8c70d2cf3a0 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = iiufrgs + pkgdesc = A package of LaTeX classes for INF/UFRGS + pkgver = r157.4ae3cb8 + pkgrel = 1 + url = https://github.com/schnorr/iiufrgs/ + install = iiufrgs.install + arch = any + license = GPL + makedepends = pkgconfig + makedepends = git + depends = texlive-bin + source = git://github.com/schnorr/iiufrgs.git + md5sums = SKIP + +pkgname = iiufrgs + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..285cb08f9046 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Alexandre Leuck <aleuck2004@gmail.com> +pkgname=iiufrgs +pkgver=r157.4ae3cb8 +pkgrel=1 +pkgdesc="A package of LaTeX classes for INF/UFRGS" +arch=('any') +url="https://github.com/schnorr/iiufrgs/" +license=('GPL') +groups=() +depends=('texlive-bin') +makedepends=('pkgconfig' 'git') +checkdepends=() +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +install=iiufrgs.install +changelog= +source=("git://github.com/schnorr/iiufrgs.git") +noextract=() +md5sums=('SKIP') + +pkgver() { + cd "$pkgname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "$pkgname" + make INSTALLDIR="$pkgdir/usr/share/texmf/" install > /dev/null +} diff --git a/iiufrgs.install b/iiufrgs.install new file mode 100644 index 000000000000..14f6d26de225 --- /dev/null +++ b/iiufrgs.install @@ -0,0 +1,6 @@ +post_install() { + post_upgrade +} +post_upgrade() { + mktexlsr +} |