Browse code

First commit

Qurban Ullah authored on 27/02/2018 18:16:11
Showing 1 changed files
1 1
new file mode 100755
... ...
@@ -0,0 +1,27 @@
1
+# $Id$
2
+# Maintainer: Qurban Ullah <qurbanullah@avouch.org>
3
+# Contributor: Qurban Ullah <qurbanullah@avouch.org>
4
+
5
+pkgname=alsa-oss
6
+pkgver=1.0.28
7
+pkgrel=1
8
+pkgdesc="OSS compatibility library"
9
+arch=('i686' 'x86_64')
10
+license=('GPL')
11
+url="http://www.alsa-project.org"
12
+depends=('alsa-lib')
13
+source=("ftp://ftp.alsa-project.org/pub/oss-lib/$pkgname-$pkgver.tar.bz2")
14
+
15
+build() {
16
+	cd ${srcdir}/${pkgname}-${pkgver}
17
+	./configure --prefix=/usr
18
+	make
19
+}
20
+
21
+package() {
22
+	cd ${srcdir}/${pkgname}-${pkgver}
23
+	make DESTDIR="${pkgdir}" install
24
+	# license
25
+	install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
26
+}
27
+