Template
1
0
Fork 0
mirror of https://aur.archlinux.org/ocp-git.git synced 2024-11-21 20:06:27 +00:00

Further clarification on dependency semantics

This commit is contained in:
Xavier Moffett 2023-02-18 11:19:01 -05:00
parent e137d45f2c
commit d5f0f6688e
2 changed files with 11 additions and 3 deletions

View file

@ -30,8 +30,10 @@ pkgbase = ocp-git
pkgname = ocp-git pkgname = ocp-git
depends = alsa-lib depends = alsa-lib
depends = bzip2
depends = cjson depends = cjson
depends = ncurses depends = ncurses
depends = zlib
depends = libancient depends = libancient
depends = libdiscid depends = libdiscid
provides = ocp=0.2.102.r27.7fcbda1 provides = ocp=0.2.102.r27.7fcbda1
@ -42,12 +44,14 @@ pkgname = ocp-git
pkgname = ocp-sdl2-git pkgname = ocp-sdl2-git
install = ocp.install install = ocp.install
depends = alsa-lib depends = alsa-lib
depends = bzip2
depends = cjson depends = cjson
depends = freetype2 depends = freetype2
depends = hicolor-icon-theme depends = hicolor-icon-theme
depends = ncurses depends = ncurses
depends = sdl2 depends = sdl2
depends = shared-mime-info depends = shared-mime-info
depends = zlib
depends = libancient depends = libancient
depends = libdiscid depends = libdiscid
depends = libjpeg-turbo depends = libjpeg-turbo

View file

@ -59,7 +59,7 @@ build() {
--with-unifont-ttf=/usr/share/fonts/Unifont/Unifont.ttf\ --with-unifont-ttf=/usr/share/fonts/Unifont/Unifont.ttf\
--with-unifont-csur-ttf=/usr/share/fonts/Unifont/Unifont_CSUR.ttf\ --with-unifont-csur-ttf=/usr/share/fonts/Unifont/Unifont_CSUR.ttf\
--with-unifont-upper-ttf=/usr/share/fonts/Unifont/Unifont_Upper.ttf --with-unifont-upper-ttf=/usr/share/fonts/Unifont/Unifont_Upper.ttf
make subdirs ocp ocp.hlp DESTDIR="$pkgdir" make DESTDIR="$pkgdir" subdirs ocp ocp.hlp
} }
package_ocp-sdl2-git() { package_ocp-sdl2-git() {
@ -67,13 +67,15 @@ package_ocp-sdl2-git() {
conflicts=('ocp' 'ocp-curses') conflicts=('ocp' 'ocp-curses')
install=${_pkgbase}.install install=${_pkgbase}.install
depends=('alsa-lib' depends=('alsa-lib'
'bzip2'
'cjson' 'cjson'
'freetype2' 'freetype2'
'hicolor-icon-theme' 'hicolor-icon-theme'
'ncurses' 'ncurses'
'sdl2' 'sdl2'
'shared-mime-info' 'shared-mime-info'
'libancient' 'zlib'
'libancient'
'libdiscid' 'libdiscid'
'libjpeg-turbo' 'libjpeg-turbo'
'libpng' 'libpng'
@ -94,9 +96,11 @@ package_ocp-git() {
provides=(${_pkgbase}=${pkgver} provides=(${_pkgbase}=${pkgver}
${_pkgbase}-curses=${pkgver}) ${_pkgbase}-curses=${pkgver})
conflicts=('ocp-curses' 'ocp-sdl2') conflicts=('ocp-curses' 'ocp-sdl2')
depends=('alsa-lib' depends=('alsa-lib'
'bzip2'
'cjson' 'cjson'
'ncurses' 'ncurses'
'zlib'
'libancient' 'libancient'
'libdiscid') 'libdiscid')
cd $_pkgbase cd $_pkgbase