Sign inSign up

36web/aurpkg

By 36web

Updated over 7 years ago

Build AUR package in Docker

Image
0

950

36web/aurpkg repository overview

36web/aurpkg

Ever wanted to install an AUR package but don't want to install all those base-devel dependencies or just want to build an AUR package to install on other Arch environments without build dependencies?

Here's a Docker tool can do it for you.

Usage

Pull image
docker pull 36web/aurpkg
Build an AUR package
docker run --rm --init -v $PWD:/pkg -e USER_ID=`id -u` -e GROUP_ID=`id -g` 36web/aurpkg PACKAGE_NAME

replace PACKAGE_NAME with the name of your desired package on AUR.

example:

docker run --rm --init -v $PWD:/pkg -e USER_ID=`id -u` -e GROUP_ID=`id -g` 36web/aurpkg telegram-desktop-bin

Docker will build the package and put it in the directory named as PACKAGE_NAME with PKGBUILD for package details. You may later install the package with

sudo pacman -U package.pkg.tar.xz
Make an alias

You may also make it an alias for further usage.

alias aurpkg='docker run --rm --init -v $PWD:/pkg -e USER_ID=`id -u` -e GROUP_ID=`id -g` 36web/aurpkg '

and just run

aurpkg PACKAGE_NAME

at anytime.

Issue report

https://github.com/36web/docker-aurpkg/issues

Tag summary

Content type

Image

Digest

Size

233 MB

Last updated

over 7 years ago

docker pull 36web/aurpkg