Skip to content

Instantly share code, notes, and snippets.

@diggit
Last active March 22, 2016 02:50
Show Gist options
  • Save diggit/8846b53d4a28c654feba to your computer and use it in GitHub Desktop.
Save diggit/8846b53d4a28c654feba to your computer and use it in GitHub Desktop.
PKGBUILD cpik 0.7.3-2
# Maintainer: Kevin Cox (youarefunny - [email protected])
# Contributor: Matias De la Puente ([email protected])
# Contributor: Patrik Bachan ([email protected])
pkgname=cpik
pkgver=0.7.3
_pkgver=$(echo $pkgver | tr -d '.')
pkgrel=2
pkgdesc='The C compiler for PIC18 devices'
url='http://pikdev.free.fr/'
license=('GPL')
arch=('i686' 'x86_64')
depends=('gcc-libs')
makedepends=('qt4')
install=
source=("http://pikdev.free.fr/$pkgname-$pkgver-${pkgrel}.tar.gz")
md5sums=('92c84f3f613cda581ff339e34853138e')
build() {
cd "${srcdir}/${pkgname}-${pkgver}-${pkgrel}" # Source Directory
qmake -o Makefile "${pkgname}${_pkgver}.pro"
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}-${pkgrel}"
make INSTALL_ROOT=${pkgdir} install
ln -s "/usr/bin/${pkgname}-$pkgver" "${pkgdir}/usr/bin/${pkgname}"
}
Copy link

ghost commented Mar 22, 2016

@diggit Hi, do you have an email address you can be contacted to? Regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment