Skip to content

Commit

Permalink
Update pkgbuilds
Browse files Browse the repository at this point in the history
  • Loading branch information
eloaders committed Jul 2, 2014
1 parent 4b126cb commit 233e075
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 57 deletions.
33 changes: 18 additions & 15 deletions dists/PKGBUILD_STABLE → dists/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Maintainer : Philip Müller <philm@manjaro.org>

pkgname=i-nex
pkgver=7.0.0
_git=7.0.0
Expand All @@ -6,34 +8,35 @@ pkgdesc="System information tool like hardinfo, sysinfo"
arch=('i686' 'x86_64')
url="http://i-nex.linux.pl/"
license=('LGPL3')
depends=('procps-ng' 'gambas3-runtime' 'gambas3-gb-image' 'gambas3-gb-gtk' 'gambas3-gb-form'
'gambas3-gb-desktop' 'gambas3-gb-settings' 'gambas3-gb-form-dialog' 'gambas3-gb-qt4'
'gambas3-gb-form-mdi' 'gambas3-gb-form-stock' 'util-linux' 'procps' 'python2' 'libcpuid'
'xorg-server-utils' 'lsb-release' 'coreutils' 'pciutils' 'inetutils' 'mesa-demos' 'curl')
depends=('gambas3-runtime' 'gambas3-gb-image' 'gambas3-gb-form'
'gambas3-gb-desktop' 'gambas3-gb-settings' 'gambas3-gb-qt4'
'gambas3-gb-form-stock' 'python2' 'libcpuid'
'xorg-server-utils' 'lsb-release' 'curl' 'mesa-demos')
makedepends=('gambas3-devel' 'gcc' 'imagemagick')
source=("$pkgname-$pkgver-$pkgrel.tar.gz::https://github.com/eloaders/I-Nex/archive/$_git.tar.gz")
sha256sums=('SKIP')
replaces=(i-nex-dev)
provides=(i-nex-dev)
conflicts=(i-nex-dev)
sha256sums=('3f15461f3fef45ce542185ac5885f3d8d635fa4156ae178aa20c89b1f6ec1954')
replaces=('i-nex-bzr' 'i-nex-dev' 'i-nex-git')
provides=('i-nex' 'i-nex-bzr' 'i-nex-dev' 'i-nex-git')
conflicts=('i-nex' 'i-nex-bzr' 'i-nex-dev' 'i-nex-git')

prepare() {
cd "$srcdir/I-Nex-$_git"
# make it dynamic
sed -i -e 's|^STATIC.*|STATIC = false|' i-nex.mk
cd src
autoreconf --install
./configure --prefix=/usr
autoreconf -i
}

build() {
cd "$srcdir/I-Nex-$_git"

cd src
./configure --prefix=/usr
cd ..
make
}

package() {
cd "$srcdir/I-Nex-$_git"
mkdir -p "$pkgdir/usr/share/applications"
make install DESTDIR="${pkgdir}"
sed -i 's|python3$|python2|' "$pkgdir/usr/share/i-nex/pastebinit/pastebinit"
}
43 changes: 43 additions & 0 deletions dists/PKGBUILD_AUR
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Maintainer: eloaders <eloaders at linux dot pl>

pkgname=i-nex-git
pkgver=7.0.0.41.geb6c012
pkgrel=1
pkgdesc="System information tool like hardinfo, sysinfo"
arch=('i686' 'x86_64')
url="http://i-nex.linux.pl/"
license=('LGPL3')
depends=('gambas3-runtime' 'gambas3-gb-image' 'gambas3-gb-form'
'gambas3-gb-desktop' 'gambas3-gb-settings' 'gambas3-gb-qt4'
'gambas3-gb-form-stock' 'python2' 'libcpuid-git'
'xorg-server-utils' 'lsb-release' 'curl' 'mesa-demos')
makedepends=('gambas3-devel' 'gcc' 'imagemagick' 'git')
source=($pkgname::'git://github.com/eloaders/I-Nex.git')
sha256sums=('SKIP')
provides=('i-nex' 'i-nex-bzr' 'i-nex-dev')
conflicts=('i-nex' 'i-nex-bzr' 'i-nex-dev')
pkgver() {
cd $pkgname
git describe | tr - .
}
prepare() {
cd $pkgname
# make it dynamic
sed -i -e 's|^STATIC.*|STATIC = false|' i-nex.mk
cd src
autoreconf -i
}

build() {
cd $pkgname
cd src
./configure --prefix=/usr
cd ..
make
}

package() {
cd $pkgname
make install DESTDIR="$pkgdir"
sed -i 's|python3$|python2|' "$pkgdir/usr/share/i-nex/pastebinit/pastebinit"
}
42 changes: 0 additions & 42 deletions dists/PKGBUILD_DAILY

This file was deleted.

0 comments on commit 233e075

Please sign in to comment.