added markdown tools

This commit is contained in:
Ella-0 2021-04-05 18:41:17 +01:00
parent 5e2dcbb4e5
commit 91ed203f60
5 changed files with 121 additions and 0 deletions

27
pkgs/rawk/build.sh Normal file
View file

@ -0,0 +1,27 @@
pkgname=rawk
pkgver=master
fetch() {
curl -L "https://github.com/kisom/rawk/archive/refs/heads/master.tar.gz" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
cp ../cp-u.patch .
cd $pkgname-$pkgver
patch -p1 < ../cp-u.patch
}
build() {
cd $pkgname-$pkgver
PREFIX=/usr ./config.sh
make
}
package() {
cd $pkgname-$pkgver
make install PREFIX=$pkgdir/usr/
}
license() {
cd $pkgname-$pkgver
cat LICENSE
# cat COPYING
}