summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c262389158c4b3d450f6ec234e966b94e09cc213 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: Jameson Pugh <imntreal@gmail.com>

pkgname=3dfsb
pkgver=1.2
pkgrel=2
pkgdesc="3D file browser"
arch=('i686' 'x86_64')
url="https://github.com/tomvanbraeckel/3dfsb/"
license=("GPL")
makedepends=('imagemagick')
depends=('freeglut' 'file' 'sdl_image' 'glu' 'gstreamer' 'xdotool-git')
source=("https://github.com/tomvanbraeckel/3dfsb/archive/v${pkgver}.tar.gz"
        '3dfsb.desktop')
sha256sums=('e04497251a4ffb4c003ed0c22316501cf2e95c201d233ddbb9c79c2f9d696c2e'
            'c53f4ba2ed02513c3ec60f9182fb25c71f03d19e60498f563d960bd93bc6eb84')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}

  ./compile.sh
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}

  install -dm755 ${pkgdir}/usr/bin
  install -dm755 ${pkgdir}/usr/share/applications
  install -m755 3dfsb ${pkgdir}/usr/bin/3dfsb
  install -m644 ../3dfsb.desktop ${pkgdir}/usr/share/applications/3dfsb.desktop
}

# vim:set ts=2 sw=2 et: