blob: 7415f76f502c79bb5d4927055731856e6dc6d3f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# Maintainer: nezbednik <nezbedniklmao at gmail dot com>
pkgname=length-cpp
pkgver=1.0.0
pkgrel=1
arch=("any")
makedepends=("gcc")
source=("https://github.com/nezbednik/length-cpp/archive/016c37d877c481d4f03870fe0c9a2471e76b5241.zip")
sha256sums=("d61e2414c8f369cf5264ada06ff91e6ec3414368b10bab23143f129c8e5f00ed")
build() {
cd "$srcdir"
cd length-cpp-*
g++ length.h main.cpp -o ../length-cpp
}
package() {
mkdir -p "$pkgdir/usr/bin"
install --mode=755 "$srcdir/length-cpp" "$pkgdir/usr/bin"
}
|