diff options
author | Santiago Lo Coco | 2023-02-19 12:19:25 +0000 |
---|---|---|
committer | Santiago Lo Coco | 2023-02-19 12:19:25 +0000 |
commit | 579764b531150854b473ac69556e59c16c42ed95 (patch) | |
tree | c8f6287ac9c8e8a9099818a4bdca450ba8b6b94d | |
parent | f04758a3e46536747fe62884c80f69421ad58d75 (diff) | |
download | aur-579764b531150854b473ac69556e59c16c42ed95.tar.gz |
Fix PATH bugs
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 21 |
2 files changed, 14 insertions, 13 deletions
@@ -1,7 +1,7 @@ pkgbase = pdd-git pkgdesc = Tiny date, time diff calculator with piggybacked timers. pkgver = r143.9c6a3b7 - pkgrel = 2 + pkgrel = 1 url = https://github.com/jarun/pdd arch = any license = GPL3 @@ -12,6 +12,10 @@ pkgbase = pdd-git provides = pdd conflicts = pdd source = git+https://github.com/jarun/pdd.git + source = patch-1::https://github.com/jarun/pdd/pull/35.patch + source = patch-2::https://github.com/jarun/pdd/pull/34.patch + sha256sums = SKIP + sha256sums = SKIP sha256sums = SKIP pkgname = pdd-git @@ -3,7 +3,7 @@ _pkgname='pdd' pkgname="${_pkgname}-git" pkgver=r143.9c6a3b7 -pkgrel=2 +pkgrel=1 pkgdesc='Tiny date, time diff calculator with piggybacked timers.' arch=('any') url='https://github.com/jarun/pdd' @@ -12,23 +12,20 @@ depends=('python' 'python-dateutil') makedepends=('git' 'python-setuptools') provides=("pdd") conflicts=("pdd") -source=("git+${url}.git") -sha256sums=('SKIP') +source=("git+${url}.git" + "patch-1::${url}/pull/35.patch" + "patch-2::${url}/pull/34.patch") +sha256sums=('SKIP' 'SKIP' 'SKIP') pkgver() { cd "${srcdir}/${_pkgname}" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } -build() { - cd "${srcdir}/${_pkgname}" - make -} - package() { cd "${srcdir}/${_pkgname}" - make PREFIX=/usr DESTDIR="${pkgdir}" install-bin - gzip -c -9 "${_pkgname}".1 > "${_pkgname}".1.gz - install -Dm644 "${_pkgname}".1 "${pkgdir}/usr/share/man/man1" - install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE" + patch -p1 < "${srcdir}/patch-1" + patch -p1 < "${srcdir}/patch-2" + make PREFIX=/usr DESTDIR="${pkgdir}" install + #make PREFIX=${pkgdir}/usr install } |