[aur-general] pcb-rnd-svn first package
pcb-rnd at cuvoodoo.info
pcb-rnd at cuvoodoo.info
Thu Jul 22 12:22:15 UTC 2021
mmhh, tar.bz2 archive do not seem to be allowed on the list.
I've attached all raw files.
On Thu, Jul 22, 2021 at 02:15:53PM +0200, pcb-rnd--- via aur-general wrote:
> Hi list,
>
> I would like to have some feedback for my first PKGBUILD files for packages.
> the existing pcb-rnd-svn AUR package is currently broken because the project requires a need dependency: librnd3.
> thus I decided to create all packages needed/related by it, and fix its optional dependencies.
> I was able to create all packages on a fresh arch, and checked them against namcap.
> please let me know if the PKGBUILD are OK so I can submit them.
>
> thanks,
> cuvoodoo
-------------- next part --------------
# Maintainer: CuVoodoo <pcb-rnd at cuvoodoo.info>
pkgname=camv-rnd
pkgver=1.0.0
pkgrel=1
pkgdesc="free/open source, small, flexible viewer for PCB-related CAM file formats"
url="http://www.repo.hu/projects/camv-rnd/"
arch=('i686' 'x86_64')
license=('GPL2')
depends=('librnd3'
'freetype2')
provides=('camv-rnd')
source=("http://www.repo.hu/projects/$pkgname/releases/$pkgname-$pkgver.tar.gz")
sha256sums=('edf86c4d7d94364abc2b20bbfb3a78501a899f0b324ce0ecda632efd867a1a15')
build() {
cd "$srcdir/$pkgname-$pkgver/"
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname-$pkgver/"
make DESTDIR="$pkgdir/" install
}
-------------- next part --------------
# Maintainer: CuVoodoo <pcb-rnd at cuvoodoo.info>
pkgname=camv-rnd-svn
pkgver=r307
pkgrel=1
pkgdesc="free/open source, small, flexible viewer for PCB-related CAM file formats"
url="http://www.repo.hu/projects/camv-rnd/"
arch=('i686' 'x86_64')
license=('GPL2')
depends=('librnd3'
'freetype2')
makedepends=('subversion')
provides=('camv-rnd')
source=("svn://svn.repo.hu/camv-rnd/trunk")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/trunk/"
local ver="$(svnversion)"
printf "r%s" "${ver//[[:alpha:]]}"
}
build() {
cd "$srcdir/trunk/"
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/trunk/"
make DESTDIR="$pkgdir/" install
}
-------------- next part --------------
# Maintainer: CuVoodoo <pcb-rnd at cuvoodoo.info>
pkgname=fungw
pkgver=1.2.0
pkgrel=1
pkgdesc="tiny, portable library written in C (C89) that manages dynamic function calls across different programming languages"
url="http://www.repo.hu/projects/fungw/"
arch=('i686' 'x86_64')
license=('LGPL2')
depends=('genht')
# fungw is not strictly dependant on genht (it also embeds it), but other packages relying on fungw also can optionally use external genht, and we don't want them to use different versions
optdepends=('lua' 'perl' 'tcl' 'python2' 'python' 'duktape' 'mujs' 'libmawk>=1.0.3')
# picolisp could not compile
# there is no estutter package
# there is no funlist package
# compilation against mruby fails because mruby is missing the -fPIC compile flag
provides=('fungw')
source=("http://www.repo.hu/projects/fungw/releases/fungw-$pkgver.tar.gz")
sha256sums=('0b1b9c281d5b9722b85ded2b793ff2c21c3b530484ef3c2276fc041ae2161f36')
build() {
cd "$srcdir/$pkgname-$pkgver/"
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname-$pkgver/"
make DESTDIR="$pkgdir/" install
}
-------------- next part --------------
# Maintainer: CuVoodoo <pcb-rnd at cuvoodoo.info>
pkgname=fungw-svn
pkgver=r754
pkgrel=1
pkgdesc="tiny, portable library written in C (C89) that manages dynamic function calls across different programming languages"
url="http://www.repo.hu/projects/fungw/"
arch=('i686' 'x86_64')
license=('LGPL2')
depends=('genht')
# fungw is not strictly dependant on genht (it also embeds it), but other packages relying on fungw also can optionally use external genht, and we don't want them to use different versions
optdepends=('lua' 'perl' 'tcl' 'python2' 'python' 'duktape' 'mujs' 'libmawk>=1.0.3')
# picolisp could not compile
# there is no estutter package
# there is no funlist package
# compilation against mruby fails because mruby is missing the -fPIC compile flag
makedepends=('subversion')
provides=('fungw')
source=("svn://svn.repo.hu/fungw/trunk")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/trunk/"
local ver="$(svnversion)"
printf "r%s" "${ver//[[:alpha:]]}"
}
build() {
cd "$srcdir/trunk/"
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/trunk/"
make DESTDIR="$pkgdir/" install
}
-------------- next part --------------
# Maintainer: CuVoodoo <pcb-rnd at cuvoodoo.info>
pkgname=genht
pkgver=1.1.2
pkgrel=1
pkgdesc="a simple generic hash table implementation in C"
url="http://www.repo.hu/projects/genht/"
arch=('i686' 'x86_64')
license=('Unlicense')
depends=('glibc')
provides=('genht')
source=("http://www.repo.hu/projects/$pkgname/releases/$pkgname-$pkgver.tar.gz")
sha256sums=('8d65f72668b61f7444514c784b0c722c15fa34ec8bcba9d3bd0ab2bea5c1f0ed')
build() {
cd "$srcdir/$pkgname-$pkgver/"
make GENHT_LDFLAGS="-Wl,-z,now -Wl,-z,relro"
}
package() {
cd "$srcdir/$pkgname-$pkgver/"
make DESTDIR="$pkgdir/" install
}
-------------- next part --------------
# Maintainer: CuVoodoo <pcb-rnd at cuvoodoo.info>
pkgname=genht-svn
pkgver=r114
pkgrel=1
pkgdesc="a simple generic hash table implementation in C"
url="http://www.repo.hu/projects/genht/"
arch=('i686' 'x86_64')
license=('Unlicense')
depends=('glibc')
makedepends=('subversion')
provides=('genht')
source=("svn://svn.repo.hu/genht/trunk")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/trunk/"
local ver="$(svnversion)"
printf "r%s" "${ver//[[:alpha:]]}"
}
build() {
cd "$srcdir/trunk/"
make GENHT_LDFLAGS="-Wl,-z,now -Wl,-z,relro"
}
package() {
cd "$srcdir/trunk/"
make DESTDIR="$pkgdir/" install
}
-------------- next part --------------
# Maintainer: CuVoodoo <pcb-rnd at cuvoodoo.info>
pkgname=libmawk
pkgver=1.0.3
pkgrel=1
pkgdesc="a fork of mawk 1.3.3, restructured for embedding"
url="http://www.repo.hu/projects/libmawk/"
arch=('i686' 'x86_64')
license=('GPL2')
depends=('glibc')
provides=('libmawk')
source=("http://www.repo.hu/projects/$pkgname/releases/$pkgname-$pkgver.tar.gz")
sha256sums=('50ac3e34320d88eb42fb78f422dc77b20c147fa827f608e8430c88052c8a3ffa')
build() {
cd "$srcdir/$pkgname-$pkgver/"
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname-$pkgver/"
make DESTDIR="$pkgdir/" install
}
-------------- next part --------------
# Maintainer: CuVoodoo <pcb-rnd at cuvoodoo.info>
pkgname=pcb-rnd
pkgver=2.4.0
pkgrel=1
pkgdesc="free/open source, flexible, modular Printed Circuit Board editor"
url="http://www.repo.hu/projects/pcb-rnd/"
arch=('i686' 'x86_64')
license=('GPL2')
depends=('librnd3' 'libxml2')
optdepends=('gd: gd based exports and pixmap imports (png, gif, jpeg)'
'freetype2: import_ttf plugin'
'fungw')
provides=('pcb-rnd')
source=("http://www.repo.hu/projects/$pkgname/releases/$pkgname-$pkgver.tar.gz")
sha256sums=('7d8e8faa1b1fd001495a51d1a68d32ce5cf7620604c62952d88df105ffa47fde')
build() {
cd "$srcdir/$pkgname-$pkgver/"
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname-$pkgver/"
make DESTDIR="$pkgdir/" install
}
-------------- next part --------------
# Maintainer: CuVoodoo <pcb-rnd at cuvoodoo.info>
pkgname=pcb-rnd-svn
pkgver=r35263
pkgrel=1
pkgdesc="free/open source, flexible, modular Printed Circuit Board editor"
url="http://www.repo.hu/projects/pcb-rnd/"
arch=('i686' 'x86_64')
license=('GPL2')
depends=('librnd3' 'libxml2')
optdepends=('gd: gd based exports and pixmap imports (png, gif, jpeg)'
'freetype2: import_ttf plugin'
'fungw')
makedepends=('subversion')
provides=('pcb-rnd')
source=("svn://svn.repo.hu/pcb-rnd/trunk")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/trunk/"
local ver="$(svnversion)"
printf "r%s" "${ver//[[:alpha:]]}"
}
build() {
cd "$srcdir/trunk/"
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/trunk/"
make DESTDIR="$pkgdir/" install
}
-------------- next part --------------
# Maintainer: CuVoodoo <pcb-rnd at cuvoodoo.info>
pkgname=librnd3
pkgver=3.0.0
pkgrel=1
pkgdesc="free/open source, flexible, modular two-dimensional CAD engine"
url="http://www.repo.hu/projects/librnd/"
arch=('i686' 'x86_64')
license=('GPL2')
depends=()
optdepends=('gtk2: GTK2 GUI, software render'
'gtkglext: GTK2 GUI, opengl render'
'openmotif: the lesstif gui'
'libstroke: mouse gestures'
'fungw: turing complete scripting')
provides=('librnd3')
source=("http://www.repo.hu/projects/librnd/releases/librnd-$pkgver.tar.gz")
sha256sums=('77b05667aa89187d91f5e20ee5ecbf0a3be089f840a39e18debcd7f5d75d571b')
build() {
cd "$srcdir/librnd-$pkgver/"
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/librnd-$pkgver/"
make DESTDIR="$pkgdir/" install
}
-------------- next part --------------
# Maintainer: CuVoodoo <pcb-rnd at cuvoodoo.info>
pkgname=librnd3-svn
pkgver=r32924
pkgrel=1
pkgdesc="free/open source, flexible, modular two-dimensional CAD engine"
url="http://www.repo.hu/projects/librnd/"
arch=('i686' 'x86_64')
license=('GPL')
depends=()
optdepends=('gtk2: GTK2 GUI, software render'
'gtkglext: GTK2 GUI, opengl render'
'openmotif: the lesstif gui'
'libstroke: mouse gestures'
'fungw: turing complete scripting')
makedepends=('subversion')
provides=('librnd3')
source=("svn://svn.repo.hu/librnd/trunk")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/trunk/"
local ver="$(svnversion)"
printf "r%s" "${ver//[[:alpha:]]}"
}
build() {
cd "$srcdir/trunk/"
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/trunk/"
make DESTDIR="$pkgdir/" install
}
More information about the aur-general
mailing list