diff options
author | Peter Ivanov | 2015-06-23 10:19:27 +0200 |
---|---|---|
committer | Peter Ivanov | 2015-06-23 10:19:27 +0200 |
commit | 55f6a484fad2d32565bf014a23169740bcf8b518 (patch) | |
tree | 6364fe9d72d382c899f39afaeb0d4feed788ffe4 | |
download | aur-55f6a484fad2d32565bf014a23169740bcf8b518.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | PKGBUILD | 35 | ||||
-rw-r--r-- | piklab.install | 13 |
3 files changed, 71 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c804530327ab --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +pkgbase = piklab + pkgdesc = IDE for applications based on Microchip PIC and dsPIC microcontrollers similar to the MPLAB environment + pkgver = 0.16.2 + pkgrel = 3 + url = http://piklab.sourceforge.net + install = piklab.install + arch = i686 + arch = x86_64 + license = GPL + makedepends = cmake + makedepends = automoc4 + depends = kdebase-runtime + depends = libusb-compat + depends = kdebase-katepart + optdepends = pk2cmd-plus: PICkit 2 CLI software with updated DeviceFile and udev rules + optdepends = pikloops: Utility to compute timing loops + optdepends = gputils: PIC programming utilities + optdepends = sdcc: C compiler + source = https://sourceforge.net/projects/piklab/files/piklab/0.16.2/piklab-0.16.2.tar.bz2 + md5sums = 38002479c6ed62d5a1f54678330f5bd2 + +pkgname = piklab + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..825f282bad64 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Peter Ivanov <ivanovp@gmail.com> +# Contributor: BxS (bxsbxs at gmail dot com) +# Contributor: Tom Billiet (mouse256@ulyssis.org) +# Contributor: Kevin Cox (youarefunny - kevincox.ca@gmail.com) + +pkgname=piklab +pkgver=0.16.2 +pkgrel=3 +pkgdesc="IDE for applications based on Microchip PIC and dsPIC microcontrollers similar to the MPLAB environment" +url="http://piklab.sourceforge.net" +license=('GPL') +arch=('i686' 'x86_64') +depends=('kdebase-runtime' 'libusb-compat' 'kdebase-katepart') +makedepends=('cmake' 'automoc4') +optdepends=('pk2cmd-plus: PICkit 2 CLI software with updated DeviceFile and udev rules' + 'pikloops: Utility to compute timing loops' + 'gputils: PIC programming utilities' + 'sdcc: C compiler') +install=$pkgname.install +source=("https://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2") +md5sums=('38002479c6ed62d5a1f54678330f5bd2') + +build() { + cd "${srcdir}/$pkgname-$pkgver" + cmake -D 'CMAKE_INSTALL_PREFIX=/usr' . + make +} + +package() { + cd "${srcdir}/$pkgname-$pkgver" + mkdir -p ${pkgdir}/usr + make DESTDIR="${pkgdir}" -j1 install + mv -v ${pkgdir}/lib ${pkgdir}/usr +} + diff --git a/piklab.install b/piklab.install new file mode 100644 index 000000000000..1bcf683d36a6 --- /dev/null +++ b/piklab.install @@ -0,0 +1,13 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-mime-database usr/share/mime + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |