diff options
author | aulonsal | 2023-01-02 20:17:41 +0530 |
---|---|---|
committer | aulonsal | 2023-01-02 20:17:41 +0530 |
commit | d6590637e89c1cbd2c8484494ad13d701019fda3 (patch) | |
tree | 4028a8346e17c640a6ab9acad8d28b903c46086d /PKGBUILD | |
parent | cb61fc28a9fb30fd281f0b478107e0a4cdffee71 (diff) | |
download | aur-ondir-git.tar.gz |
upgpkg: ondir-git r13.55279f0-2 Use git+https source
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -1,35 +1,35 @@ -# Maintainer: Akhil J <akhil.j@outlook.in> +# Maintainer: aulonsal <seraur at aulonsal dot com> +# Contributor: Akhil J <akhil.j@outlook.in> pkgname=ondir-git +_pkgname="${pkgname%-git}" pkgver=r13.55279f0 -pkgrel=1 -pkgdesc="a small program to automate tasks specific to certain directories" +pkgrel=2 +pkgdesc="Small program to automate tasks specific to certain directories" arch=('i686' 'x86_64') -url="https://github.com/alecthomas/ondir.git" +url="https://github.com/alecthomas/ondir" license=('GPL2') -makedepends=('git') depends=('glibc') -provides=("$pkgname") -conflicts=("$pkgname") -source=("$pkgname::git://github.com/alecthomas/ondir.git") +makedepends=('git') +source=("git+$url.git") md5sums=('SKIP') pkgver() { - cd "$pkgname" + cd "$_pkgname" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } prepare() { - cd "$pkgname" + cd "$_pkgname" sed -i '/USE_ONENTERLEAVE/c#define USE_ONENTERLEAVE' conf.h } build() { - cd "$pkgname" + cd "$_pkgname" make CFLAGS="$CFLAGS "'-DVERSION=\"$(VERSION)\" -DGLOBAL_CONF=\"$(CONF)\"' LDFLAGS="$LDFLAGS" } package() { - cd "$pkgname" + cd "$_pkgname" make DESTDIR="$pkgdir" install } |