Skip to content

Commit

Permalink
Update PKGBUILDS
Browse files Browse the repository at this point in the history
  • Loading branch information
eloaders committed Jul 20, 2014
1 parent 7b583e6 commit c852831
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 18 deletions.
35 changes: 18 additions & 17 deletions dists/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,42 +1,43 @@
# Maintainer : Philip Müller <philm@manjaro.org>
# Maintainer: mareex <marcus.behrendt.86[at]gmail[dot]com>
# Contributor: Joost Bremmer <toost dot b at gmail dot com>

pkgname=i-nex
pkgver=7.0.0
_git=7.0.0
_prgname=I-Nex
pkgver=7.2.0
pkgrel=1
pkgdesc="System information tool like hardinfo, sysinfo"
arch=('i686' 'x86_64')
url="http://i-nex.linux.pl/"
url="https://github.com/eloaders/I-Nex"
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'
'gambas3-gb-form-stock' 'python2' 'libcpuid-git'
'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=('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')
provides=('i-nex-git' 'i-nex-bzr' 'i-nex-dev')
conflicts=('i-nex-git' 'i-nex-bzr' 'i-nex-dev')
source=("https://github.com/eloaders/I-Nex/archive/${pkgver}.tar.gz")
sha256sums=('e1e842a31f52c30cb0dc72856d96250de4bed3a2f9c7546b1a2dc01eecb70df6')

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


build() {
cd "$srcdir/I-Nex-$_git"
cd src
cd "${srcdir}/${_prgname}-${pkgver}"
cd I-Nex
./configure --prefix=/usr
cd ..
make
}

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

pkgname=i-nex-git
pkgver=7.0.0.41.geb6c012
pkgver=7.0.0.85.g7b583e6
pkgrel=1
pkgdesc="System information tool like hardinfo, sysinfo"
arch=('i686' 'x86_64')
Expand Down

0 comments on commit c852831

Please sign in to comment.