summaryrefslogtreecommitdiff
path: root/community/gpsim/PKGBUILD
blob: 7fe5e9e12620d926f5447d5384a6a63de423dc4f (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
# $Id: PKGBUILD 98438 2013-10-10 13:31:09Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: mickael9 <mickael9 at gmail dot com>

pkgname=gpsim
pkgver=0.27.0
pkgrel=1
pkgdesc="A full-featured software simulator for Microchip PIC microcontrollers"
arch=(i686 x86_64 'mips64el')
url="http://gpsim.sourceforge.net/"
license=(GPL)
depends=('gtk2+extra' 'popt')
makedepends=('gtk2+extra' 'gputils')
options=('!libtool')
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('b3ded17f1c8c6134f2381d6e6925b231')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  patch -Np1 -i ${srcdir}/gpsim-0.26.1-glib.patch
  ./configure --prefix=/usr
  make
}

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