mirror of
https://github.com/siemens-mobile-hacks/ptr89.git
synced 2026-11-25 18:27:22 +00:00
fixes
This commit is contained in:
parent
a60c504d7c
commit
709ac3c9a3
1 changed files with 5 additions and 5 deletions
10
PKGBUILD
10
PKGBUILD
|
|
@ -1,5 +1,5 @@
|
|||
# Maintainer: Kirill Zhumarin <kirill.zhumarin@gmail.com>
|
||||
pkgname=ptr89-git
|
||||
pkgname=ptr89
|
||||
pkgver=v1.0.2
|
||||
pkgrel=1
|
||||
pkgdesc='Yet another binary pattern finder.'
|
||||
|
|
@ -12,22 +12,22 @@ source=($pkgname-$pkgver.tar.gz)
|
|||
sha256sums=('SKIP')
|
||||
|
||||
prepare() {
|
||||
cd "ptr89"
|
||||
cd $pkgname
|
||||
git submodule init
|
||||
git submodule update
|
||||
}
|
||||
|
||||
build() {
|
||||
cmake -B build -S ptr89
|
||||
cmake -B build -S $pkgname
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "ptr89"
|
||||
cd $pkgname
|
||||
make install
|
||||
}
|
||||
|
||||
pkgver() {
|
||||
cd "ptr89"
|
||||
cd $pkgname
|
||||
git describe --long --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue