aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-04-05 04:27:25 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-05 13:27:45 -0300
commita1839be2ce760f18357711fd56938a328c1f20ce (patch)
treec78ec7a98de6f0e250d3e0f18d45414ee0c562ca
parent02c5366d67c250f6bbe0a05f69209ea98cb183fa (diff)
downloadaports-a1839be2ce760f18357711fd56938a328c1f20ce.tar.gz
aports-a1839be2ce760f18357711fd56938a328c1f20ce.tar.bz2
aports-a1839be2ce760f18357711fd56938a328c1f20ce.tar.xz
community/cdw: move from main
-rw-r--r--community/cdw/APKBUILD (renamed from main/cdw/APKBUILD)32
-rw-r--r--community/cdw/cdw_colors.c.patch (renamed from main/cdw/cdw_colors.c.patch)0
2 files changed, 9 insertions, 23 deletions
diff --git a/main/cdw/APKBUILD b/community/cdw/APKBUILD
index 8ece6d8661..1809783450 100644
--- a/main/cdw/APKBUILD
+++ b/community/cdw/APKBUILD
@@ -2,40 +2,26 @@
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=cdw
pkgver=0.8.1
-pkgrel=2
+pkgrel=3
pkgdesc="cdw is a front-end for cd recoding tools"
-url="http://cdw.sf.net"
+url="http://cdw.sourceforge.net/"
arch="all"
-license="GPL-2.0"
+license="GPL-2.0-or-later"
depends="cdrkit"
-depends_dev=""
-makedepends="ncurses-dev libcdio-dev libburn-dev bison gettext-dev linux-headers"
-install=""
+makedepends="ncurses-dev libcdio-dev libburn-dev bison gettext-dev
+ linux-headers"
subpackages="$pkgname-doc"
-source="https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz
+source="https://downloads.sourceforge.net/cdw/cdw-$pkgver.tar.gz
cdw_colors.c.patch"
-_builddir="${srcdir}/${pkgname}-${pkgver}"
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
-
build() {
- cd "$_builddir"
- export LIBS="-lintl" && ./configure --prefix=/usr
+ export LIBS="-lintl" && ./configure --prefix=/usr
make
}
package() {
- cd "$_builddir"
- chmod +x ${srcdir}/${pkgname}-${pkgver}/install-sh
- make DESTDIR="$pkgdir" install || return 1
+ chmod +x $srcdir/$pkgname-$pkgver/install-sh
+ make DESTDIR="$pkgdir" install
}
sha512sums="08f6bac823f534987835f434190601d0a72df2246ff78bfe1af98fd30dda25edb8cf2e09161b3a0bc55e9efefbc453b409cc95fd3c117d447f07e49f79072e33 cdw-0.8.1.tar.gz
diff --git a/main/cdw/cdw_colors.c.patch b/community/cdw/cdw_colors.c.patch
index 87bff5b052..87bff5b052 100644
--- a/main/cdw/cdw_colors.c.patch
+++ b/community/cdw/cdw_colors.c.patch