summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b9c111bd5bf71891ded99e89712311dde2b5b5e5 (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
35
36
# Maintainer: FĂ©licien PILLOT <felicien.pillot@member.fsf.org>
pkgname=fisoco
pkgver=0.6
pkgrel=1
pkgdesc="a Finding, Sorting and Converting free software"
url="https://github.com/Felandral/Fisoco"
arch=('any')
license=('GPLv3')
depends=()
makedepends=('git' 'gtkmm3' 'intltool')
conflicts=()
replaces=()
backup=()
source=("${pkgname}-${pkgver}::git+http://github.com/Felandral/Fisoco#branch=master")
md5sums=('SKIP')
pkgver() {
  cd "$srcdir/$pkgname-$pkgver"
  # Use the tag of the last commit
  git describe --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
}

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./bootstrap -g
  ./configure --prefix=/usr
  sleep 1
  echo "Compiling..."
  sleep 1
  make
}

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