Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create packages for some linux distros. #8

Closed
pinpox opened this issue Jun 23, 2017 · 4 comments
Closed

Create packages for some linux distros. #8

pinpox opened this issue Jun 23, 2017 · 4 comments

Comments

@pinpox
Copy link

pinpox commented Jun 23, 2017

Hi,

I would like to try this out on linux arch, but it would be nice to have a package or at least a AUR package.
Would you be interested to create one?

@carrotIndustries
Copy link
Member

I'll probably come up with a PKGBUILD when horizon is reasonably stable. Right now, horizon may frequently change in incompatible ways (see past commits), so having a ready-to-install package may raise false expectations.

@pinpox
Copy link
Author

pinpox commented Jun 23, 2017

Ok, thanks for the info, I'll try to install by hand then later.

@janhieber
Copy link

Made a PKGBUILD.
I did not upload it to AUR yet, if someone wants to maintain it, feel free to do so.
Also 'i686' and other archs should be added after testing them.

_name=horizon
pkgname=${_name}-git
pkgver=r185.59b2f6b
pkgrel=1
epoch=
pkgdesc="free EDA package written in C++ with GTK3"
arch=('x86_64')
url="https://github.com/carrotIndustries/horizon"
license=('GPL')
groups=()
depends=('boost-libs' 'boost' 'glm' 'yaml-cpp' 'zeromq' 'gtkmm3' 'cairomm' 'librsvg' 'sqlite')
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("git+https://github.com/carrotIndustries/horizon.git")
noextract=()
md5sums=('SKIP')
validpgpkeys=()

pkgver() {
    cd "$srcdir/$_name"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
    cd "$srcdir/$_name"
    make
}

package() {
    for f in horizon-imp horizon-pgm-test horizon-pool horizon-pool-mgr horizon-pool-update-parametric horizon-prj horizon-prj-mgr
    do
        install -Dm755 $srcdir/$_name/$f $pkgdir/usr/bin/$f
    done
}

@carrotIndustries
Copy link
Member

Thanks for the template. I adjusted a few things and uploaded it: https://aur.archlinux.org/packages/horizon-git/ But beware, although horizon is way more polished and usable than it was some months ago, things are still changing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants