blob: a0d783d505b10fbac33c638ab9069115a36f3610 (
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
|
# Maintainer: Wilson E. Alvarez <wilson.e.alvarez1@gmail.com>
# Contributor: Carlos Solis <csolisr at gmail dot com>
# Contributor: Collin 'Fwirt' Skiles <sploopby at gmail dot com>
# Contributor: Brian "saikobee" Mock <mock.brian at gmail dot com>
pkgname=sfxr
pkgver=1.2.1
pkgrel=1
pkgdesc="Random sound effect generator for games, etc."
arch=('i686' 'x86_64')
url="http://www.drpetter.se/project_sfxr.html"
license=('MIT')
depends=('gtk3' 'sdl')
source=("http://www.drpetter.se/files/$pkgname-sdl-$pkgver.tar.gz")
md5sums=('794f18f5c527a344c7366687aa634d71')
build() {
cd "$srcdir/$pkgname-sdl-$pkgver"
# Uncomment below and change the dependences
# if you plan to use GTK2 instead of GTK3
# sed -i 's|GTK=3.0|GTK=2.0|' Makefile
make $MAKEFLAGS DESTDIR="$pkgdir"
}
package() {
cd "$srcdir/$pkgname-sdl-$pkgver"
make DESTDIR="$pkgdir" install
grep -A 21 "Copyright" readme.txt > LICENSE
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|