blob: e0cc7729c75d307333f36f6ebc8be78b26a07a87 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Maintainer: snemc <3112671039@qq.com>
pkgname=pauser
pkgver=0.0.1
pkgrel=1
epoch=
pkgdesc="一个开源的检测程序运行算法问题的耗时和内存占用的小工具."
arch=('x86_64')
url="https://github.com/jswysnemc/ConsolePauserPlusPlus"
license=('GPL-3.0-only')
depends=("glibc")
makedepends=("git" "make" "gcc" "glibc")
source=("$pkgname-$pkgver::git+https://github.com/jswysnemc/ConsolePauserPlusPlus.git")
noextract=("${source[@]##*/}")
md5sums=('SKIP')
build() {
cd "$pkgname-$pkgver"
make
}
package() {
cd "$pkgname-$pkgver"
install -Dm755 ./build/bin/pauser "$pkgdir"/usr/bin/pauser
}
|