mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
parent
0b4434f8eb
commit
a636733054
1 changed files with 1 additions and 3 deletions
|
@ -13,8 +13,7 @@ source=("git+${url}.git")
|
|||
sha256sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "$pkgname"
|
||||
printf $(TZ=UTC git log --no-walk --pretty="%cd" --decorate=full --date=format-local:%Y.%m.%d | head -n 1)
|
||||
git -C ${pkgname} describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
|
||||
}
|
||||
|
||||
prepare(){
|
||||
|
@ -22,7 +21,6 @@ prepare(){
|
|||
sed -i "s|CFLAGS=|CFLAGS=-fPIC |" Makefile
|
||||
sed -i "s|^const|extern const|" rle.h
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir/${pkgname}"
|
||||
make
|
||||
|
|
Loading…
Add table
Reference in a new issue