summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: baa8c2807bd8300424b48359b2a987e964c49f1b (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
# Contributor: Edgard Matthijs <ematthijs at skynet dot be>

pkgname=gfourcc
pkgver=0.1.4.r2.g9817643
pkgrel=7
pkgdesc="GUI Tool for changing the FOURCC code and description of AVI files"
arch=('i686' 'x86_64')
url="https://github.com/gamegard68/gfourcc"
license=('GPL')
provides=('gfourcc')
conflicts=('gfourcc')
depends=('gtkmm3')
makedepends=('gnome-common' 'pkg-config')
source=("git+https://github.com/gamegard68/gfourcc.git")
sha256sums=('SKIP')

pkgver() {
  cd ${pkgname}

  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd ${pkgname}

  sh autogen.sh --prefix=/usr
  make
}

package() {
  cd ${pkgname}

  make DESTDIR=${pkgdir} install
}