blob: b1f2678f4b3a159417e9eacd696f519e11d993ce (
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
37
38
39
40
41
42
|
# Maintainer: thegala <thegala at disroot dot org>
_pkgname=exceptions4c
pkgname=${_pkgname}-git
pkgver=cce5399
pkgrel=1
pkgdesc="Bring the power of exceptions to your C applications with this tiny, portable library."
arch=('any')
url="https://exceptions4c.guillermo.in/"
license=('LGPL')
depends=('glibc')
makedepends=('automake' 'autoconf')
source=("${_pkgname}::git+https://github.com/guillermocalvo/exceptions4c.git")
sha256sums=('SKIP')
prepare() {
cd "${srcdir}/${_pkgname}"
aclocal
autoconf
automake --add-missing
}
pkgver() {
cd "${srcdir}/${_pkgname}"
#pkgver=$(git log -1 --format='%cd.%h' --date=short | tr -d -)
git log -1 --format='%cd.%h' --date=short | tr -d -
}
build() {
cd "${srcdir}/${_pkgname}"
./configure --prefix=/usr
#./configure
make
}
package() {
cd "${srcdir}/${_pkgname}"
make DESTDIR="$pkgdir" install
}
|