mirror of
https://github.com/bertptrs/aur.git
synced 2025-12-25 12:40:30 +01:00
Add 'netctl2iwd/' from commit '12d84f6caf132c54501007e575aa564e6b3a6686'
git-subtree-dir: netctl2iwd git-subtree-mainline:a3d896e051git-subtree-split:12d84f6caf
This commit is contained in:
15
netctl2iwd/.SRCINFO
Normal file
15
netctl2iwd/.SRCINFO
Normal file
@@ -0,0 +1,15 @@
|
||||
pkgbase = netctl2iwd
|
||||
pkgdesc = Convert your netctl wireless profiles to iwd profiles.
|
||||
pkgver = 0.1.2
|
||||
pkgrel = 1
|
||||
url = https://github.com/bertptrs/netctl2iwd
|
||||
arch = x86_64
|
||||
license = MIT
|
||||
checkdepends = cargo
|
||||
makedepends = cargo
|
||||
depends = gcc-libs
|
||||
source = netctl2iwd-0.1.2.tar.gz::https://github.com/bertptrs/netctl2iwd/archive/v0.1.2.tar.gz
|
||||
md5sums = dcbff31d50a3731ce19a3c81e6568706
|
||||
|
||||
pkgname = netctl2iwd
|
||||
|
||||
4
netctl2iwd/.gitignore
vendored
Normal file
4
netctl2iwd/.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
*
|
||||
!PKGBUILD
|
||||
!.SRCINFO
|
||||
!.gitignore
|
||||
30
netctl2iwd/PKGBUILD
Normal file
30
netctl2iwd/PKGBUILD
Normal file
@@ -0,0 +1,30 @@
|
||||
# Maintainer: Bert Peters <bert@bertptrs.nl>
|
||||
pkgname=netctl2iwd
|
||||
pkgver=0.1.2
|
||||
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=('dcbff31d50a3731ce19a3c81e6568706')
|
||||
|
||||
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