blob: c7454e1299968b494f276ce0979a8e694e49ce4f (
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: Lucas H. Gabrielli <heitzmann@gmail.com>
pkgname=libgdsii-git
pkgdesc='C++ library for working with GDSII binary data files'
pkgver=20190411
pkgrel=1
arch=('i686' 'x86_64')
url="https://github.com/HomerReid/libGDSII"
license=('GPL2')
depends=('gcc-libs')
provides=("libgdsii=${pkgver}")
optdepends=()
makedepends=('git')
options=(!emptydirs)
source=('libgdsii::git+https://github.com/HomerReid/libGDSII')
md5sums=('SKIP')
pkgver() {
cd libgdsii
git log --format="%cd" --date=short -1 | sed 's/-//g'
}
build() {
cd libgdsii
sh autogen.sh --prefix='/usr'
}
package() {
cd libgdsii
make install DESTDIR="${pkgdir}"
}
# vim: fileencoding=utf-8 spelllang=en shiftwidth=2 expandtab
|