summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b4e16c3efc781191be36123d1449524876a54fb3 (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
33
34
35
36
37
# Maintainer: weilinfox <weilinfox at inuyasha dot love>
# Contributor: Lex Black <autumn-wind at web dot de>
# Contributor: SpepS <dreamspepser at yahoo dot it>
# Contributor: nggtony <nggtony@yahoo.it>
# Moved to AUR4: GI_Jack <iamjacksemail@hackermail.com>

pkgname=darksnow
pkgver=0.7.1
pkgrel=4
pkgdesc="simple GTK2 GUI for darkice"
arch=(i686 x86_64)
url="http://darksnow.radiolivre.org/index.en.html"
license=('GPL')
depends=('darkice' 'gtk2' 'hicolor-icon-theme')
install="$pkgname.install"
source=("http://deb.debian.org/debian/pool/main/d/darksnow/darksnow_0.7.1.orig.tar.gz"
        "$pkgname.desktop")
sha256sums=('7c7c55761f7536cea2e8b6d8037c9ce7ca71f6a044c1b6026ea80e13d35b04fd'
            'c35b2679a1d439cc6aff7acadd73a8af3bd0f878bb77e82db32c66f0ef646eb1')

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

  export CFLAGS="-fcommon $CFLAGS"
  ./configure --prefix=/usr
  make
}

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

  make PREFIX="$pkgdir/usr" install

  # desktop file
  install -Dm644 ../$pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
}