summaryrefslogtreecommitdiff
path: root/~xihh/lyx-clasicthesis/PKGBUILD
blob: 8e63e202526ab21c2c1d313785434d4eac52779f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $
# Maintainer: Joshua Ismael Haase Hernandez <joshpar@stravy>
pkgname=lyx-clasicthesis
pkgver=3.1-beta1
pkgrel=1
pkgdesc="A Classic Thesis Style for LaTeX and LyX"
arch=('any')
url="https://code.google.com/p/classicthesis/"
license=('GPL')
groups=()
depends=('lyx')
source=(https://code.google.com/p/classicthesis/downloads/detail?name=ClassicThesis-LyX-v${pkgver}.zip)
md5sums=('a437079a70466adadf8f7034e02ebd85')
noextract=()

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr
  make
}

check() {
  cd "$srcdir/$pkgname-$pkgver"
  make -k check
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir/" install
}