Debian Codegraph @

pkg/arch/PKGBUILD

raw
1 # Contributor: Justin Charette <charetjc at gmail dot com>
2 # Contributor: Daniel M. Capella <[email protected]>
3
4 _gitname=hsetroot
5 pkgname=himdel-hsetroot-git
6 pkgver=1.0.2.r29.ga624810
7 pkgrel=1
8 pkgdesc='A tool which allows you to compose wallpapers for X. A fork of hsetroot by Hyriand.'
9 arch=('x86_64')
10 url=http://github.com/himdel/hsetroot
11 license=('GPL2')
12 depends=('imlib2' 'libxinerama')
13 makedepends=('git')
14 provides=('hsetroot')
15 conflicts=('hsetroot')
16 source=("git+$url.git")
17 md5sums=('SKIP')
18
19 pkgver() {
20 cd $_gitname
21 git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
22 }
23
24 build() {
25 cd $_gitname
26 LDFLAGS+=",--no-as-needed" make
27 }
28
29 package() {
30 cd $_gitname
31 install -Dt "$pkgdir"/usr/bin hsetroot
32 }