updated on Wed Jan 18 20:10:41 UTC 2012
[aur-mirror.git] / glc-player / PKGBUILD
blobca433b386be2f2470280e66ac75b29678cfdf11a
1 # Maintainer: Jonathan Liu <net147@gmail.com>
2 pkgname=glc-player
3 pkgver=2.3.0
4 pkgrel=1
5 pkgdesc="Open source 3D model viewer"
6 arch=('i686' 'x86_64')
7 url="http://www.glc-player.net/"
8 license=('GPL2')
9 depends=('glc-lib')
10 install="${pkgname}.install"
11 source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/GLC_Player_${pkgver}/GLC_Player_src_${pkgver}.zip"
12         "glc_player.desktop"
13         "glc_player.png")
14 md5sums=('382e9eb94e9f6345bc245abea7eb89ef'
15          '60cba62de5872f63c0609791a4be7156'
16          '7772386e065a8855cf6a0a241d6d9348')
18 build() {
19   cd "${srcdir}"
20   qmake INCLUDEPATH=/usr/include/GLC_lib
21   make
24 package() {
25   cd "${srcdir}"
26   install -D -m755 glc_player "${pkgdir}/usr/bin/glc_player"
27   install -D -m644 "${srcdir}/glc_player.desktop" "${pkgdir}/usr/share/applications/glc_player.desktop"
28   install -D -m644 "${srcdir}/glc_player.png" "${pkgdir}/usr/share/pixmaps/glc_player.png"
31 # vim:set ts=2 sw=2 et: