summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7dcefa6c75e9ea4c704924deebd6569f4ee97c20 (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
# Maintainer: Anthony Vitacco <breaker1@protonmail.com>
pkgname=gummi-git
_pkgname=gummi
pkgver=1048.a538d9b
pkgrel=1
pkgdescr="Gummi LaTeX Editor git version"
arch=("x86_64" "i686")
url="https://www.gummi.app/"
license=("MIT")
makedepends=(git intltool)
conflicts=(gummi)
depends=(gtk3 poppler-glib gtkspell3 texlive-core gtksourceview3)
source=("https://github.com/alexandervdm/gummi.git")
sha256sums=("SKIP")

pkgver() {
    cd "${_pkgname}"
    echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}

build() {
    cd "${_pkgname}"
    ./autogen.sh
    ./configure --prefix=/usr
    make
}

package() {
    cd "${_pkgname}"
    make DESTDIR="${pkgdir}" install
}