mirror of
https://github.com/bertptrs/aur.git
synced 2025-12-25 20:40:32 +01:00
Initial packaging.
This commit is contained in:
15
.SRCINFO
Normal file
15
.SRCINFO
Normal file
@@ -0,0 +1,15 @@
|
||||
pkgbase = netctl2iwd
|
||||
pkgdesc = Convert your netctl wireless profiles to iwd profiles.
|
||||
pkgver = 0.1.1
|
||||
pkgrel = 1
|
||||
url = https://github.com/bertptrs/netctl2iwd
|
||||
arch = x86_64
|
||||
license = MIT
|
||||
checkdepends = cargo
|
||||
makedepends = cargo
|
||||
depends = gcc-libs
|
||||
source = netctl2iwd-0.1.1.tar.gz::https://github.com/bertptrs/netctl2iwd/archive/v0.1.1.tar.gz
|
||||
md5sums = 255088792752ea32a48559710a694a26
|
||||
|
||||
pkgname = netctl2iwd
|
||||
|
||||
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
*
|
||||
!PKGBUILD
|
||||
!.SRCINFO
|
||||
!.gitignore
|
||||
30
PKGBUILD
Normal file
30
PKGBUILD
Normal file
@@ -0,0 +1,30 @@
|
||||
# Maintainer: Bert Peters <bert@bertptrs.nl>
|
||||
pkgname=netctl2iwd
|
||||
pkgver=0.1.1
|
||||
pkgrel=1
|
||||
pkgdesc="Convert your netctl wireless profiles to iwd profiles."
|
||||
arch=(x86_64)
|
||||
url="https://github.com/bertptrs/netctl2iwd"
|
||||
license=('MIT')
|
||||
depends=(gcc-libs)
|
||||
makedepends=(cargo)
|
||||
checkdepends=(cargo)
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/bertptrs/$pkgname/archive/v$pkgver.tar.gz")
|
||||
md5sums=('255088792752ea32a48559710a694a26')
|
||||
|
||||
build() {
|
||||
cd "$pkgname-$pkgver"
|
||||
cargo build --release
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$pkgname-$pkgver"
|
||||
cargo test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname-$pkgver"
|
||||
cargo install --path . --root "$pkgdir/usr"
|
||||
rm "$pkgdir/usr/.crates.toml"
|
||||
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m 644 LICENSE
|
||||
}
|
||||
Reference in New Issue
Block a user