diff options
author | Roman Mishin | 2020-05-04 15:53:20 +0700 |
---|---|---|
committer | Roman Mishin | 2020-05-04 15:53:20 +0700 |
commit | 51b96885cfcc675b93f49473109ea09ec07eb6d9 (patch) | |
tree | e66feca03c4ac6a2bde8afe6ed71f424100f5b31 | |
parent | 9e64bb94e80d1cc64075a452e84282485f8df961 (diff) | |
download | aur-51b96885cfcc675b93f49473109ea09ec07eb6d9.tar.gz |
added patch file to sources
-rw-r--r-- | .INSTALL | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 6 insertions, 4 deletions
@@ -1,6 +1,6 @@ # arg 1: the new package version post_install() { - pkgver=$(echo $1 | sed -r 's/-[0-9]+//') + pkgver=$(echo $1 | sed -r 's/-[0-9]+$//') echo -e "\n$(tput setaf 2;tput bold)run:$(tput sgr0) /usr/lib/tktreectrl-$pkgver/demos/demo.tcl\n" } @@ -11,8 +11,10 @@ makedepends=('gcc' 'git') provides=('tktreectrl') conflicts=('tktreectrl') install='.INSTALL' -source=("git+$url.git") -md5sums=('SKIP') +source=("git+$url.git" + 'arch-paths.patch') +md5sums=('SKIP' + '82fa47b8779466ccd9740e5aad3e47cf') pkgver() { sed -nr 's/PACKAGE_PATCHLEVEL=(.+)/\1/p' "$srcdir/tktreectrl/configure" @@ -20,7 +22,7 @@ pkgver() { prepare() { cd "$srcdir/tktreectrl" - git apply ../../arch-paths.patch + git apply "$srcdir/arch-paths.patch" sh ./configure --prefix=/usr --enable-threads --enable-64bit } |