Skip to content
Permalink
Browse files

libmatemixer 1.22.0-1

  • Loading branch information...
linuxchezmoi committed Apr 7, 2019
1 parent 13ea00a commit 5f3a01a1f494ecf8234033ccff68d9a2e96595d6
Showing with 37 additions and 0 deletions.
  1. +37 −0 mate/libmatemixer/Pkgfile
@@ -0,0 +1,37 @@
# Depends on: glib2 pulseaudio intltool


packager="sipo"
contributors=""
maintainer="sipo"


description="Mixer library for MATE Desktop"
url="http://mate-desktop.org"


name=libmatemixer
version=1.22.0
release=1


source=(http://pub.mate-desktop.org/releases/1.22/libmatemixer-$version.tar.xz)


build(){
cd "${name}-${version}"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}

package() {
cd "${name}-${version}"
make DESTDIR="${PKG}" install
rm $PKG/usr/lib/libmatemixer.la
rm $PKG/usr/lib/libmatemixer/libmatemixer-{null,pulse,alsa}.la
}

0 comments on commit 5f3a01a

Please sign in to comment.
You can’t perform that action at this time.