Commit 1d4f2cc2 authored by J0WI's avatar J0WI
Browse files

main/opensp: modernize

parent 39ba4fae
Pipeline #87169 failed with stages
in 2 minutes and 13 seconds
......@@ -4,32 +4,19 @@
pkgname=opensp
_realname=OpenSP
pkgver=1.5.2
pkgrel=0
pkgrel=1
pkgdesc="Implementation of the DSSSL style language"
url="http://openjade.sourceforge.net"
url="http://openjade.sourceforge.net/"
arch="all"
license="custom"
depends=""
depends_dev=""
makedepends="$depends_dev xmlto"
install=""
makedepends="xmlto"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://prdownloads.sourceforge.net/openjade/$_realname-$pkgver.tar.gz
opensp-1.5-install.patch"
_builddir="$srcdir"/$_realname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
builddir="$srcdir"/$_realname-$pkgver
build() {
cd "$_builddir"
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -39,17 +26,18 @@ build() {
--infodir=/usr/share/info \
--localstatedir=/var \
--disable-static \
--enable-shared \
|| return 1
make || return 1
--enable-shared
make
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
cd "$builddir"
make DESTDIR="$pkgdir" install
install -Dm644 "$_builddir"/COPYING \
"$pkgdir"/usr/share/licenses/$pkgname/COPYING || return 1
"$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
sha512sums="a7dcc246ba7f58969ecd6d107c7b82dede811e65f375b7aa3e683621f2c6ff3e7dccefdd79098fcadad6cca8bb94c2933c63f4701be2c002f9a56f1bbe6b047e OpenSP-1.5.2.tar.gz
6d4cddb3c98313643ef7ab57ce154dd8a188b7ea8edc608a62ff25e4f995ab4167be94e40c2a62ae568e22e1ada4bd9bf0c9687e4dfa43dafde4d87e8b73fdf8 opensp-1.5-install.patch"
sha512sums="
a7dcc246ba7f58969ecd6d107c7b82dede811e65f375b7aa3e683621f2c6ff3e7dccefdd79098fcadad6cca8bb94c2933c63f4701be2c002f9a56f1bbe6b047e OpenSP-1.5.2.tar.gz
6d4cddb3c98313643ef7ab57ce154dd8a188b7ea8edc608a62ff25e4f995ab4167be94e40c2a62ae568e22e1ada4bd9bf0c9687e4dfa43dafde4d87e8b73fdf8 opensp-1.5-install.patch
"
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