diff --git a/pkgs/anthy/build.sh b/pkgs/anthy/build.sh new file mode 100644 index 0000000..d08fc0c --- /dev/null +++ b/pkgs/anthy/build.sh @@ -0,0 +1,28 @@ +pkgname=anthy +pkgver=9100h + +fetch() { + curl -L "https://ftp.halifax.rwth-aachen.de/osdn/anthy/37536/anthy-$pkgver.tar.gz" -o $pkgname-$pkgver.tar.xz + tar -xf $pkgname-$pkgver.tar.xz +} + +build() { + cd $pkgname-$pkgver + ./configure \ + --prefix=/usr \ + --build=$(echo $TRIPLE | sed 's/musl/gnu/g') \ + --host=$(echo $TRIPLE | sed 's/musl/gnu/g') + + make +} + +package() { + cd $pkgname-$pkgver + make install DESTDIR=$pkgdir +} + +license() { + cd $pkgname-$pkgver + cat LICENSE +# cat COPYING +} diff --git a/pkgs/wlanthy/build.sh b/pkgs/wlanthy/build.sh new file mode 100644 index 0000000..fe1bdd2 --- /dev/null +++ b/pkgs/wlanthy/build.sh @@ -0,0 +1,30 @@ +pkgname=wlanthy +pkgver=main + +fetch() { + curl -L "https://github.com/st3r4g/wlanthy/archive/refs/heads/main.tar.gz" -o $pkgname-$pkgver.tar.gz + tar -xf $pkgname-$pkgver.tar.gz + mkdir $pkgname-$pkgver/build +} + +build() { + cd $pkgname-$pkgver + cd build + meson .. \ + --buildtype=release \ + --prefix=/usr \ + --libexecdir=lib + samu +} + +package() { + cd $pkgname-$pkgver + cd build + DESTDIR=$pkgdir samu install +} + +license() { + cd $pkgname-$pkgver + cat LICENSE +# cat COPYING +}