summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfenugrec2018-01-31 00:59:02 -0500
committerfenugrec2018-01-31 00:59:02 -0500
commit80d10bfbeb390289c94e532ced4445c3765b8048 (patch)
tree94c95e8d794653997e80041249d37669e4077bc1
downloadaur-gpsim-svn.tar.gz
initial commit : compile with defaults
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD39
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7e8ea7aab98
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = gpsim-svn
+ pkgdesc = A full-featured software simulator for Microchip PIC microcontrollers
+ pkgver = r2435
+ pkgrel = 1
+ url = http://gpsim.sourceforge.net
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = gputils
+ depends = gtk2+extra
+ depends = popt
+ conflicts = gpsim
+ source = gpsim::svn+https://svn.code.sf.net/p/gpsim/code/trunk/
+ sha256sums = SKIP
+
+pkgname = gpsim-svn
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..868c1faea2c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: fenugrec
+
+pkgname=gpsim-svn
+_pkgname=gpsim
+pkgver=r2435
+pkgrel=1
+pkgdesc="A full-featured software simulator for Microchip PIC microcontrollers"
+url="http://gpsim.sourceforge.net"
+license=('GPL')
+arch=('i686' 'x86_64')
+depends=('gtk2+extra' 'popt')
+makedepends=('gputils')
+conflicts=("${_pkgname}")
+
+source=("$_pkgname::svn+https://svn.code.sf.net/p/$_pkgname/code/trunk/")
+sha256sums=('SKIP')
+
+prepare() {
+ cd $_pkgname
+ chmod +x autogen.sh
+ ./autogen.sh
+}
+
+pkgver() {
+ cd $_pkgname
+ local _ver="$(svnversion)"
+ printf "r%s" "${_ver//[[:alpha:]]}"
+}
+
+build() {
+ cd $_pkgname
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $_pkgname
+ make DESTDIR="$pkgdir" install
+}