summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 170db57f49ac06ebc697bf27d27350496b81e925 (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
# Maintainer: montag451 <montag451 [at] laposte (dot) net>

pkgname=asn1c
pkgver=0.9.27
pkgrel=3
pkgdesc='Open Source ASN.1 Compiler'
arch=('i686' 'x86_64')
url='http://lionet.info/asn1c/compiler.html'
license=('BSD')
depends=('glibc')
source=("http://lionet.info/soft/asn1c-${pkgver}.tar.gz")
sha512sums=('ac010087cb1412ba766463e2b93163e2fbd17556446a28a3e4a010bef1123881b1366827b0f8e612a7450f4bb92e959cdb4ac898d7015922485045e0b6e12e92')

build() {
    cd "${pkgname}-${pkgver}"
    ./configure --prefix=/usr
    make
}

check() {
    cd "${pkgname}-${pkgver}"
    make check
}

package() {
    cd "${pkgname}-${pkgver}"
    make DESTDIR="${pkgdir}/" install
    install -m 644 -D -t "${pkgdir}/usr/share/${pkgname}/standard-modules" skeletons/standard-modules/*
    install -m 644 -D COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}