New package: pcb-20140316
This package is a complement for gEDA
This commit is contained in:
parent
17351f62a2
commit
44fbec79ad
2 changed files with 33 additions and 0 deletions
1
srcpkgs/pcb-data
Symbolic link
1
srcpkgs/pcb-data
Symbolic link
|
@ -0,0 +1 @@
|
|||
pcb
|
32
srcpkgs/pcb/template
Normal file
32
srcpkgs/pcb/template
Normal file
|
@ -0,0 +1,32 @@
|
|||
# Template file for 'pcb'
|
||||
pkgname=pcb
|
||||
version=20140316
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="flex bison intltool pkg-config desktop-file-utils"
|
||||
makedepends="MesaLib-devel glu-devel gtk+-devel gtkglext-devel gd-devel tk-devel"
|
||||
depends="pcb-data geda"
|
||||
mutable_files="/usr/share/mime/application/x-pcb-footprint.xml
|
||||
/usr/share/mime/application/x-gerber.xml
|
||||
/usr/share/mime/application/x-pcb-layout.xml
|
||||
/usr/share/mime/application/x-excellon.xml
|
||||
/usr/share/mime/application/x-pcb-netlist.xml"
|
||||
short_desc="Interactive printed circuit board editor"
|
||||
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
||||
license="GPL-2"
|
||||
homepage="pcb.geda-project.org/news.html"
|
||||
distfiles="http://ftp.geda-project.org/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
|
||||
checksum=82c4f39438ee4e278196a3b67ef021145dcfbb00519508ccf51aa7832121c950
|
||||
|
||||
post_install() {
|
||||
# Remove unwanted files in /usr/share/mime and /usr/share/applications
|
||||
find ${DESTDIR}/usr/share/mime -maxdepth 1 -type f | xargs rm -v
|
||||
rm -v ${DESTDIR}/usr/share/applications/mimeinfo.cache
|
||||
}
|
||||
pcb-data_package() {
|
||||
noarch=yes
|
||||
short_desc=" - data files"
|
||||
pkg_install() {
|
||||
vmove usr/share/pcb
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue