"make install" works in unix

"make install" now installs icon and ".desktop" file
Initial Arch-Linux pkgbuild support


FossilOrigin-Name: 1b4bb884b1f1c64c3ab7b415fdface636434b6ac
This commit is contained in:
kostas
2012-05-14 23:05:45 +00:00
parent 15c28866fc
commit 47c290b08d
6 changed files with 76 additions and 14 deletions

31
dist/arch/PKGBUILD vendored Normal file
View File

@ -0,0 +1,31 @@
# Maintainer: Kostas Karanikolas <lastname[at]gmail[dot]com>
pkgname=fuel
pkgver=0.9.6
pkgrel=1
#epoch=
pkgdesc="A GUI front-end to Fossil SCM"
arch=(i686 x86_64)
url="fuel-scm.org"
license=('GPL2')
#groups=()
depends=('qt>=4.7.0', 'fossil')
source=("http://fuel-scm.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
md5sums=() #generate with 'makepkg -g'
build() {
cd "${srcdir}"
[ -d build ] && rm -r build
mkdir build
cd build
qmake "${srcdir}/${pkgname}-${pkgver}/fuel.pro"
make
}
package() {
cd "${srcdir}/build"
make INSTALL_ROOT="${pkgdir}/usr" install
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}