summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7abc29b4af08f480ed3fa1e123054c8eb71b9a40 (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
31
32
33
34
# Maintainer: directrix1

_basename=gnoMint-master
pkgname=gnomint-git
pkgver=`date -u +%Y%m%d%H%M`
pkgrel=1
pkgdesc="Certification Authority management made easy."
arch=("i686" "x86_64")
url="http://gnomint.sf.net"
license=("GPL3")
depends=("gconf" "gtk2" "sqlite")
optdepends=()
makedepends=("autoconf" "intltool")  
conflicts=("${pkgname}" "gnomint")
options=("!buildflags")
source=("${_basename}.tar.gz::https://github.com/davefx/gnoMint/archive/master.tar.gz")
sha256sums=('SKIP')

prepare() {
    cd "${srcdir}/${_basename}"
    CFLAGS="-g -O2 " ./autogen.sh --prefix=/usr
}

build() {
    cd "${srcdir}/${_basename}"
    make
}

package() {
    cd "${srcdir}/${_basename}"
    make install DESTDIR="$pkgdir"
    cd "${pkgdir}"
    mv usr/etc .
}