Unverified Commit e8564fee authored by Marian Buschsieweke's avatar Marian Buschsieweke
Browse files

community/libcaca: split out apps to subpkg

parent ee6961d6
Pipeline #66079 passed with stages
in 1 minute and 54 seconds
......@@ -3,15 +3,15 @@
pkgname=libcaca
pkgver=0.99_beta19
_ver=${pkgver/_/.}
pkgrel=3
pkgrel=4
pkgdesc="graphics library that outputs text instead of pixels"
url="http://caca.zoy.org/wiki/libcaca"
arch="all"
license="WTFPL"
depends_dev="imlib2-dev"
makedepends="$depends_dev"
subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
source="http://caca.zoy.org/files/$pkgname/$pkgname-$_ver.tar.gz
subpackages="$pkgname-static $pkgname-dev $pkgname-doc $pkgname-apps"
source="http://caca.zoy.org/files/libcaca/libcaca-$_ver.tar.gz
2018-20544.patch::https://github.com/cacalabs/libcaca/commit/84bd155087b93ab2d8d7cb5b1ac94ecd4cf4f93c.patch
2018-20545.patch::https://github.com/cacalabs/libcaca/commit/3e52dabe3e64dc50f4422effe364a1457a8a8592.patch
2018-20546.patch::https://github.com/cacalabs/libcaca/commit/02a09ec9e5ed8981e7a810bfb6a0172dc24f0790.patch
......@@ -26,7 +26,7 @@ source="http://caca.zoy.org/files/$pkgname/$pkgname-$_ver.tar.gz
# - CVE-2018-20548
# - CVE-2018-20549
builddir="$srcdir"/libcaca-${_ver}
builddir="$srcdir"/libcaca-$_ver
prepare() {
default_prepare
......@@ -38,17 +38,20 @@ prepare() {
}
build() {
cd "$builddir"
./configure --prefix=/usr
make
}
package() {
cd "$builddir"
make DESTDIR=$pkgdir install
install COPYING -Dm644 $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
apps() {
mkdir -p "$subpkgdir"/usr/
mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}
sha512sums="780fc7684d40207cc10df3f87d6d8f1d47ddfffa0e76e41a5ce671b82d5c7f090facb054c3d49ca7c4ea1a619625bb9085ce52f837f50792b4a2d776a4c68e15 libcaca-0.99.beta19.tar.gz
09450e15075daf7d944b7af6e7ad4a3124aa600a1cd9a5a49f8aafb8198497ae84b66a8bf84c9633007220fc39fa923aa3d300990fe7b12bcf770f9bb39a52e0 2018-20544.patch
3a85a6145f411502115885a8c8ec0ebb9f7cb098e7aaa128da4f896206d6f4beb0c8c223fb7aec0d53f776d1d51b3532858aa41c16550a0339055663f5718837 2018-20545.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