diff options
author | Aaron Bishop | 2023-07-24 09:32:05 -0400 |
---|---|---|
committer | Aaron Bishop | 2023-07-24 09:32:18 -0400 |
commit | 2dada4a3379832b49ba550531371de59d5039ec9 (patch) | |
tree | 8d03dc25e377e65ea184324fb1545d65031134e1 | |
parent | cf5202fe98db96232f64e599278dbda1b696faa0 (diff) | |
download | aur-date-git.tar.gz |
Fix missing makedepends on git
Fix license location
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 6 insertions, 5 deletions
@@ -1,11 +1,12 @@ pkgbase = date-git pkgdesc = A header-only library which builds upon <chrono> - pkgver = 3.0.1.r21.g655b249 + pkgver = 3.0.1.r35.gcc4685a pkgrel = 1 url = https://github.com/HowardHinnant/date arch = any license = MIT makedepends = cmake + makedepends = git provides = date conflicts = date source = git+https://github.com/HowardHinnant/date.git @@ -2,14 +2,14 @@ pkgname=date-git _pkgname=date -pkgver=3.0.1.r21.g655b249 +pkgver=3.0.1.r35.gcc4685a pkgrel=1 pkgdesc='A header-only library which builds upon <chrono>' arch=('any') url="https://github.com/HowardHinnant/date" license=('MIT') depends=() -makedepends=('cmake') +makedepends=('cmake' 'git') source=("git+https://github.com/HowardHinnant/date.git") sha256sums=('SKIP') conflicts=('date') @@ -39,6 +39,6 @@ package() { cd build make DESTDIR="$pkgdir/" install - mkdir -p "${pkgdir}/usr/share/licenses/$_pkgname" - install -Dm644 ../$_pkgname/LICENSE.txt "$pkgdir/usr/share/licenses/$_pkgname/LICENSE" + mkdir -p "${pkgdir}/usr/share/licenses/$pkgname" + install -Dm644 "${srcdir}/$_pkgname/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } |