Template
1
0
Fork 0
mirror of https://aur.archlinux.org/ocp-git.git synced 2024-12-26 14:08:09 -05: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
depends = alsa-lib
depends = bzip2
depends = cjson
depends = ncurses
depends = zlib
depends = libancient
depends = libdiscid
provides = ocp=0.2.102.r27.7fcbda1
@ -42,12 +44,14 @@ pkgname = ocp-git
pkgname = ocp-sdl2-git
install = ocp.install
depends = alsa-lib
depends = bzip2
depends = cjson
depends = freetype2
depends = hicolor-icon-theme
depends = ncurses
depends = sdl2
depends = shared-mime-info
depends = zlib
depends = libancient
depends = libdiscid
depends = libjpeg-turbo

View file

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