moving packages
This commit is contained in:
parent
815c729478
commit
41fc569409
20 changed files with 0 additions and 0 deletions
27
old/rawk/build.sh
Normal file
27
old/rawk/build.sh
Normal 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
|
||||
}
|
20
old/rawk/cp-u.patch
Normal file
20
old/rawk/cp-u.patch
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- a/rawk
|
||||
+++ b/rawk
|
||||
@@ -98,7 +98,7 @@
|
||||
|
||||
if [ -n "$stylesheet" ]; then
|
||||
mkdir -p "$target"/styles
|
||||
- cp -u "$stylesheet" "$target"/styles/style.css
|
||||
+ cp "$stylesheet" "$target"/styles/style.css
|
||||
fi
|
||||
|
||||
cd "$src_dir"
|
||||
@@ -119,7 +119,7 @@
|
||||
if [ -d "$i" ]; then
|
||||
mkdir -p "$o"
|
||||
else
|
||||
- cp -u "$i" "$o"
|
||||
+ cp "$i" "$o"
|
||||
fi
|
||||
;;
|
||||
esac
|
Loading…
Add table
Add a link
Reference in a new issue