Commit 353a725e authored by prspkt's avatar prspkt Committed by Natanael Copa

main/libxmu: improve aport

parent 0f52f44e
...@@ -9,14 +9,13 @@ license="MIT" ...@@ -9,14 +9,13 @@ license="MIT"
options="!check" # No test suite. options="!check" # No test suite.
subpackages="$pkgname-dev $pkgname-doc" subpackages="$pkgname-dev $pkgname-doc"
depends= depends=
makedepends="libxext-dev libxt-dev libx11-dev libsm-dev
util-linux-dev util-macros xmlto"
source="https://www.x.org/releases/individual/lib/libXmu-$pkgver.tar.bz2"
depends_dev="util-linux-dev" depends_dev="util-linux-dev"
makedepends="libxext-dev libxt-dev libx11-dev libsm-dev util-linux-dev
util-macros xmlto"
source="https://www.x.org/releases/individual/lib/libXmu-$pkgver.tar.bz2"
builddir="$srcdir"/libXmu-$pkgver builddir="$srcdir"/libXmu-$pkgver
build() build() {
{
cd "$builddir" cd "$builddir"
./configure \ ./configure \
--build=$CBUILD \ --build=$CBUILD \
...@@ -30,8 +29,7 @@ build() ...@@ -30,8 +29,7 @@ build()
package() { package() {
cd "$builddir" cd "$builddir"
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
install -Dm644 $srcdir/libXmu-$pkgver/COPYING \ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
$pkgdir/usr/share/licenses/$pkgname/COPYING
} }
sha512sums="8c6cc65b22aa031ad870dd92736681a068a0878a425a53dbed909943da1136c4a24034d467cfd3785c3a8d78f66850b69f1ebe1eb24aaf9bc176b1d171a5c762 libXmu-1.1.3.tar.bz2" sha512sums="8c6cc65b22aa031ad870dd92736681a068a0878a425a53dbed909943da1136c4a24034d467cfd3785c3a8d78f66850b69f1ebe1eb24aaf9bc176b1d171a5c762 libXmu-1.1.3.tar.bz2"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment