# Contributor: Matt Smith # Maintainer: Matt Smith pkgname=apache2-mod-wsgi _realname=mod_wsgi pkgver=4.6.7 pkgrel=1 pkgdesc="Python WSGI Module for Apache2" url="https://github.com/GrahamDumpleton/mod_wsgi" arch="all" license="Apache-2.0" depends="apache2 python3" makedepends="apache2-dev python3-dev" options="!check" # no tests provided subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/GrahamDumpleton/mod_wsgi/archive/$pkgver.tar.gz $pkgname.apache2.conf" builddir="$srcdir"/$_realname-$pkgver build() { cd "$builddir" CFLAGS="" CXXFLAGS="" CPPFLAGS="" \ ./configure --prefix=/usr \ --with-apxs=/usr/bin/apxs \ --with-python=/usr/bin/python3 make } package() { cd "$builddir" make DESTDIR="$pkgdir" install install -Dm644 "$srcdir"/$pkgname.apache2.conf \ "$pkgdir"/etc/apache2/conf.d/wsgi-module.conf install -Dm644 LICENSE \ "$pkgdir"/usr/share/doc/$pkgname/LICENSE } sha512sums="8a85ea6ef9c1dff3906dd6bd1b19c412f73f0b8d1c9e42520428a3652dc31a5eee6427dd4276ec351eabc5f2df62a261ae60921630db138d71aaab78cf864f40 apache2-mod-wsgi-4.6.7.tar.gz 5b36a458bd3539e58ea61ec405c4f5c5e0001a644263b0e1f8421a5c7fc7884b6df1355674a9d9b610780b5e9db6ce66d0ae1bbc0e512ecb027c3757209152c8 apache2-mod-wsgi.apache2.conf"