From 60669ea0bb74adb5892714a8580e984eb446fb53 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 12 Jan 2020 10:10:22 +0000 Subject: user: Move three packages to legacy/ dmenu: Replaced by rofi. libxfont: No rdeps; no longer used in-tree. which: Replaced by debianutils-which. --- legacy/dmenu/APKBUILD | 36 ++++++++++++++++++++++++++++++++++++ legacy/libxfont/APKBUILD | 35 +++++++++++++++++++++++++++++++++++ legacy/which/APKBUILD | 31 +++++++++++++++++++++++++++++++ user/dmenu/APKBUILD | 36 ------------------------------------ user/libxfont/APKBUILD | 35 ----------------------------------- user/which/APKBUILD | 34 ---------------------------------- 6 files changed, 102 insertions(+), 105 deletions(-) create mode 100644 legacy/dmenu/APKBUILD create mode 100644 legacy/libxfont/APKBUILD create mode 100644 legacy/which/APKBUILD delete mode 100644 user/dmenu/APKBUILD delete mode 100644 user/libxfont/APKBUILD delete mode 100644 user/which/APKBUILD diff --git a/legacy/dmenu/APKBUILD b/legacy/dmenu/APKBUILD new file mode 100644 index 000000000..36c844132 --- /dev/null +++ b/legacy/dmenu/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Eivind Uggedal +# Contributor: Sören Tempel +# Maintainer: Dan Theisen +pkgname=dmenu +pkgver=4.9 +pkgrel=0 +pkgdesc="Dynamic menu for X" +url="https://tools.suckless.org/dmenu/" +arch="all" +options="!check" # This package has no testsuite +license="MIT OR X11" +depends="" +makedepends="libx11-dev libxinerama-dev libxft-dev" +subpackages="$pkgname-doc" +source="https://dl.suckless.org/tools/$pkgname-$pkgver.tar.gz" + +prepare() { + default_prepare + sed -i -e '/CFLAGS/{s/-Os//;s/=/+=/}' \ + -e '/LDFLAGS/{s/-s//;s/=/+=/}' \ + "$builddir"/config.mk +} + +build() { + make X11INC=/usr/include/X11 \ + X11LIB=/usr/lib/X11 \ + FREETYPEINC=/usr/include/freetype2 \ + -C "$builddir" +} + +package() { + make DESTDIR=$pkgdir PREFIX=/usr \ + -C "$builddir" install +} + +sha512sums="c2779209fe012de8ca1cdd72923da6d594f4a8368c85c3c0e0afd4ae489a95fe0e6f05a947d115b6b389aa7170ab14c2c645a2031353b0a08f38327ab461fe65 dmenu-4.9.tar.gz" diff --git a/legacy/libxfont/APKBUILD b/legacy/libxfont/APKBUILD new file mode 100644 index 000000000..c98112974 --- /dev/null +++ b/legacy/libxfont/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: A. Wilcox +# Maintainer: A. Wilcox +pkgname=libxfont +pkgver=1.5.4 +pkgrel=0 +pkgdesc="X11 Font library" +url="https://www.X.Org/" +arch="all" +license="X11" +depends="xtrans" +makedepends="freetype-dev libfontenc-dev util-macros xmlto xorgproto-dev" +subpackages="$pkgname-dev" +source="https://www.x.org/releases/individual/lib/libXfont-$pkgver.tar.bz2" +builddir="$srcdir/libXfont-$pkgver" + +build() { + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +check() { + make check +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="864edbaff45c44bd92bc4b06275c73fdf584a9b88bc523a297d4c75c01ca253f438463e929af70d753ddecfa648bb0b9bcf0ec72267db9f2b1704f7afa906cb3 libXfont-1.5.4.tar.bz2" diff --git a/legacy/which/APKBUILD b/legacy/which/APKBUILD new file mode 100644 index 000000000..f8360b7b7 --- /dev/null +++ b/legacy/which/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Stuart Cardall +# Maintainer: Kiyoshi Aman +pkgname=which +pkgver=2.21 +pkgrel=2 +pkgdesc="A utility to show the full path of commands" +url="http://savannah.gnu.org/projects/which" +arch="all" +license="GPL-2.0+ AND LGPL-2.0+ AND GPL-3.0+" +makedepends="" +subpackages="$pkgname-doc" +source="https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz" +provider_priority=1 + +build() { + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr + make +} + +check() { + make check +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="d2f04a5c5291f2d7d1226982da7cf999d36cfe24d3f7bda145508efcfb359511251d3c68b860c0ddcedd66b15a0587b648a35ab6d1f173707565305c506dfc61 which-2.21.tar.gz" diff --git a/user/dmenu/APKBUILD b/user/dmenu/APKBUILD deleted file mode 100644 index ec90c9934..000000000 --- a/user/dmenu/APKBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Contributor: Eivind Uggedal -# Contributor: Sören Tempel -# Maintainer: Dan Theisen -pkgname=dmenu -pkgver=4.9 -pkgrel=0 -pkgdesc="Dynamic menu for X" -url="https://tools.suckless.org/dmenu/" -arch="all" -license="MIT OR X11" -depends="" -makedepends="libx11-dev libxinerama-dev libxft-dev" -options="!check" # This package has no testsuite -subpackages="$pkgname-doc" -source="https://dl.suckless.org/tools/$pkgname-$pkgver.tar.gz" - -prepare() { - default_prepare - sed -i -e '/CFLAGS/{s/-Os//;s/=/+=/}' \ - -e '/LDFLAGS/{s/-s//;s/=/+=/}' \ - "$builddir"/config.mk -} - -build() { - make X11INC=/usr/include/X11 \ - X11LIB=/usr/lib/X11 \ - FREETYPEINC=/usr/include/freetype2 \ - -C "$builddir" -} - -package() { - make DESTDIR=$pkgdir PREFIX=/usr \ - -C "$builddir" install -} - -sha512sums="c2779209fe012de8ca1cdd72923da6d594f4a8368c85c3c0e0afd4ae489a95fe0e6f05a947d115b6b389aa7170ab14c2c645a2031353b0a08f38327ab461fe65 dmenu-4.9.tar.gz" diff --git a/user/libxfont/APKBUILD b/user/libxfont/APKBUILD deleted file mode 100644 index c98112974..000000000 --- a/user/libxfont/APKBUILD +++ /dev/null @@ -1,35 +0,0 @@ -# Contributor: A. Wilcox -# Maintainer: A. Wilcox -pkgname=libxfont -pkgver=1.5.4 -pkgrel=0 -pkgdesc="X11 Font library" -url="https://www.X.Org/" -arch="all" -license="X11" -depends="xtrans" -makedepends="freetype-dev libfontenc-dev util-macros xmlto xorgproto-dev" -subpackages="$pkgname-dev" -source="https://www.x.org/releases/individual/lib/libXfont-$pkgver.tar.bz2" -builddir="$srcdir/libXfont-$pkgver" - -build() { - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --localstatedir=/var - make -} - -check() { - make check -} - -package() { - make DESTDIR="$pkgdir" install -} - -sha512sums="864edbaff45c44bd92bc4b06275c73fdf584a9b88bc523a297d4c75c01ca253f438463e929af70d753ddecfa648bb0b9bcf0ec72267db9f2b1704f7afa906cb3 libXfont-1.5.4.tar.bz2" diff --git a/user/which/APKBUILD b/user/which/APKBUILD deleted file mode 100644 index ab0d0a5bc..000000000 --- a/user/which/APKBUILD +++ /dev/null @@ -1,34 +0,0 @@ -# Contributor: Stuart Cardall -# Maintainer: Kiyoshi Aman -pkgname=which -pkgver=2.21 -pkgrel=2 -pkgdesc="A utility to show the full path of commands" -url="http://savannah.gnu.org/projects/which" -arch="all" -license="GPL-2.0+ AND LGPL-2.0+ AND GPL-3.0+" -makedepends="" -subpackages="$pkgname-doc" -source="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz" -provider_priority=1 - -build() { - cd "$builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr - make -} - -check() { - cd "$builddir" - make check -} - -package() { - cd "$builddir" - make DESTDIR="$pkgdir" install -} - -sha512sums="d2f04a5c5291f2d7d1226982da7cf999d36cfe24d3f7bda145508efcfb359511251d3c68b860c0ddcedd66b15a0587b648a35ab6d1f173707565305c506dfc61 which-2.21.tar.gz" -- cgit v1.2.3-70-g09d2