summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuest One <theguestone@gmail.com>2013-05-18 00:22:14 +0200
committerGuest One <theguestone@gmail.com>2013-05-18 00:22:14 +0200
commit4d0efb1335be82276f83f40b06f8295f648d169b (patch)
tree697569ba9f6ba59a837afc649f7cfa3d7e7e8e78
parentd09b90a816aca9747a54cf8538ffa7348fb556de (diff)
downloadabslibre-4d0efb1335be82276f83f40b06f8295f648d169b.tar.gz
abslibre-4d0efb1335be82276f83f40b06f8295f648d169b.tar.bz2
abslibre-4d0efb1335be82276f83f40b06f8295f648d169b.zip
added new package clalsadrv 2.0.0-1
-rw-r--r--pcr/clalsadrv/PKGBUILD24
-rw-r--r--pcr/clalsadrv/clalsadrv.install12
-rw-r--r--pcr/clalsadrv/clalsadrv.patch10
3 files changed, 46 insertions, 0 deletions
diff --git a/pcr/clalsadrv/PKGBUILD b/pcr/clalsadrv/PKGBUILD
new file mode 100644
index 000000000..bd7f89c05
--- /dev/null
+++ b/pcr/clalsadrv/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Guest One <theguestone at gmail dot com>
+# patch taken from https://aur.archlinux.org/packages/clalsadrv/
+pkgname=clalsadrv
+pkgver=2.0.0
+pkgrel=1
+pkgdesc="Audio library for aeolus, aliki, ams, jaaa and japa."
+arch=('i686')
+url="http://kokkinizita.linuxaudio.org/linuxaudio/index.html"
+license=('GPL')
+depends=('alsa-lib')
+install=${pkgname}.install
+source=(http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${pkgver}.tar.bz2 ${pkgname}.patch)
+md5sums=('be123e1701e4b6c6300907df949bd71c'
+ 'cc5a4abbc49590dfbbf942ebfd966b70')
+build() {
+ cd "${pkgname}-${pkgver}/libs"
+ patch < ${srcdir}/${pkgname}.patch
+ make DESTDIR=${pkgdir} PREFIX=/usr LIBDIR=lib
+}
+
+package(){
+ cd "${pkgname}-${pkgver}/libs"
+ make DESTDIR=${pkgdir} PREFIX=/usr LIBDIR=lib install
+}
diff --git a/pcr/clalsadrv/clalsadrv.install b/pcr/clalsadrv/clalsadrv.install
new file mode 100644
index 000000000..21117d5a8
--- /dev/null
+++ b/pcr/clalsadrv/clalsadrv.install
@@ -0,0 +1,12 @@
+post_install() {
+ldconfig
+echo "==> ran ldconfig"
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}
diff --git a/pcr/clalsadrv/clalsadrv.patch b/pcr/clalsadrv/clalsadrv.patch
new file mode 100644
index 000000000..5081f42fb
--- /dev/null
+++ b/pcr/clalsadrv/clalsadrv.patch
@@ -0,0 +1,10 @@
+--- Makefile.orig 2010-03-15 12:58:40.862423046 +0100
++++ Makefile 2010-03-15 12:59:01.578587306 +0100
+@@ -47,7 +47,6 @@
+ install: $(CLALSADRV_MIN)
+ install -Dm 644 $(CLALSADRV_H) $(DESTDIR)$(PREFIX)/include/$(CLALSADRV_H)
+ install -Dm 755 $(CLALSADRV_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR)/$(CLALSADRV_MIN)
+- /sbin/ldconfig $(PREFIX)/$(LIBDIR)
+ ln -sf $(CLALSADRV_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR)/$(CLALSADRV_SO)
+
+ clean: