diff options
author | Xavier | 2022-09-23 22:12:18 -0400 |
---|---|---|
committer | Xavier | 2022-09-23 22:12:18 -0400 |
commit | 7559cfe7016d7844373d3e8c425ef3ddf4b97b33 (patch) | |
tree | 2c6b2fe5a8ba6cddff973c73ec63bcef7fe289c9 /PKGBUILD | |
parent | 5a8ed16c40816b8b41a888a5f8016c99a4c5a481 (diff) | |
download | aur-7559cfe7016d7844373d3e8c425ef3ddf4b97b33.tar.gz |
Update to 0.2.100 and finalisation of PKGBUILD refactor.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 20 |
1 files changed, 11 insertions, 9 deletions
@@ -1,17 +1,19 @@ # Maintainer: Xavier (sapphirus at azorium dot net) # Original Maintainer: Ossi Saukko <osaukko at gmail dot com> -_pkgbdir=opencubicplayer -pkgname=ocp -pkgver=0.2.99 +_pkgbase=ocp +pkgname=${_pkgbase} +pkgver=0.2.100 pkgrel=1 pkgdesc="Open Cubic Player" arch=('i686' 'x86_64') url="https://stian.cubic.org/project-ocp.php" license=('GPL') -install=ocp.install +install=${_pkgbase}.install + +conflicts=(${_pkgbase}-git) +provides=(${_pkgbase}=${pkgver}) -conflicts=('ocp-git') depends=('hicolor-icon-theme' 'libxxf86vm' @@ -32,22 +34,22 @@ makedepends=('git' 'xa' 'desktop-file-utils') -source=(git+https://github.com/mywave82/opencubicplayer.git#tag=v${pkgver}) +source=(${_pkgbase}::git+https://github.com/mywave82/opencubicplayer.git#tag=v${pkgver}) md5sums=('SKIP') prepare() { - cd $_pkgbdir + cd $_pkgbase git submodule init git submodule update --init --recursive } build() { - cd $_pkgbdir + cd $_pkgbase ./configure --prefix=/usr --sysconfdir=/etc --with-unifontdir=/usr/share/fonts/Unifont --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 DESTDIR="$pkgdir" } package() { - cd $_pkgbdir + cd $_pkgbase make DESTDIR="$pkgdir" install } |